Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(2)  |  Derive(5)  |  Import(6)
The default IMapWidget, which also can serve as handy base class.
    

src/f/t/ftw.contentpage-1.6.5/ftw/contentpage/browser/addressblock_view.py   ftw.contentpage(Download)
from Acquisition import aq_inner, aq_parent
from collective.geo.mapwidget.browser.widget import MapWidget
from ftw.contentpage.interfaces import IAddressBlockView
from Products.Five.browser import BrowserView
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
    def get_address_map(self):
        address_map = MapWidget(self, self.request, self.context)
        address_map.mapid = "geo-%s" % self.context.getId()
        address_map.addClass('addressblock-map')
 

src/s/e/seantis.dir.base-1.7.4/seantis/dir/base/core.py   seantis.dir.base(Download)
from z3c.form.browser.checkbox import CheckBoxFieldWidget
 
from collective.geo.mapwidget.browser.widget import MapWidget
from collective.geo.mapwidget.maplayers import MapLayer
from collective.geo.geographer.interfaces import IGeoreferenced
            return tuple()
 
        mapwidget = MapWidget(self, self.request, self.context)
 
        if self.is_itemview:

src/c/o/collective.geo.mapwidget-2.1.2/src/collective/geo/mapwidget/browser/shapewidget.py   collective.geo.mapwidget(Download)
from z3c.form.interfaces import IWidget
from collective.geo.mapwidget.interfaces import IMapView
from collective.geo.mapwidget.browser.widget import MapWidget
from collective.geo.mapwidget.maplayers import MapLayer
 
 
class ShapeMapWidget(MapWidget):

src/c/o/collective.geo.mapwidget-2.1.2/src/collective/geo/mapwidget/browser/controlpanel.py   collective.geo.mapwidget(Download)
 
from collective.geo.mapwidget.interfaces import IMapView
from collective.geo.mapwidget.browser.widget import MapWidget
from collective.geo.mapwidget.maplayers import MapLayer
 
class ControlPanelMapWidget(MapWidget):
 
    mapid = 'geosettings-cgmap'
 
    @property

src/c/o/collective.geo.usersmap-HEAD/src/collective/geo/usersmap/portlets/usersmapportlet.py   collective.geo.usersmap(Download)
class MapWidget(widget.MapWidget):
    js = None
 
    @property
    def mapid(self):

src/c/o/collective.geo.usersmap-HEAD/src/collective/geo/usersmap/browser/usersmap_view.py   collective.geo.usersmap(Download)
class MapWidget(widget.MapWidget):
    js = None
 
    @property
    def mapid(self):

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/browser/geoshapeform.py   collective.geo.contentlocations(Download)
 
from collective.geo.mapwidget.interfaces import IMapView
from collective.geo.mapwidget.browser.widget import MapWidget
from collective.geo.mapwidget.maplayers import MapLayer
 

src/c/o/collective.z3cform.mapwidget-2.0/src/collective/z3cform/mapwidget/widget.py   collective.z3cform.mapwidget(Download)
class MapWidget(widget.MapWidget):
    js = None
 
    @property
    def mapid(self):

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/browser/geoshapeform.py   collective.geo.contentlocations(Download)
 
from collective.geo.mapwidget.interfaces import IMapView
from collective.geo.mapwidget.browser.widget import MapWidget
from collective.geo.mapwidget.maplayers import MapLayer