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

All Samples(18)  |  Call(0)  |  Derive(9)  |  Import(9)
The default IMapLayers implementation.

Checks geo settings tool for enabled layers and adds them
if enabled (widget.usedefault).

TODO: this impl is too tigly copled with the default MapWigdet
      implementation.
      esp.: it should not look for widget._layers attribute.

src/c/o/collective.geo.opensearch-0.4/collective/geo/opensearch/browser/maplayers.py   collective.geo.opensearch(Download)
#
import urllib
from collective.geo.mapwidget.browser.widget import MapLayers
from collective.geo.mapwidget.maplayers import MapLayer
 
class KMLMapLayers(MapLayers):
    '''
    create all layers for this view.
    '''
 
class KMLFolderMapLayers(MapLayers):
    '''
    create all layers for this view.
    '''
 

src/c/o/collective.geo.kml-3.2/src/collective/geo/kml/browser/kmlopenlayersview.py   collective.geo.kml(Download)
from Products.CMFCore.interfaces import IFolderish
 
from collective.geo.mapwidget.browser.widget import MapLayers
 
from collective.geo.kml.browser.maplayers import KMLMapLayer
class KMLMapLayers(MapLayers):
    '''create all layers for this view.
    '''
 
    def layers(self):

src/c/o/collective.geo.flexitopic-0.5/collective/geo/flexitopic/portlets/maplayer.py   collective.geo.flexitopic(Download)
from collective.geo.flexitopic.browser import maplayer
from collective.geo.mapwidget.browser.widget import MapLayers
 
 
class KMLMapLayers(MapLayers):

src/c/o/collective.geo.kml-3.2/src/collective/geo/kml/browser/viewlets.py   collective.geo.kml(Download)
from collective.geo.settings import utils
 
from collective.geo.mapwidget.browser.widget import MapLayers
from collective.geo.mapwidget.utils import get_feature_styles
 
class KMLMapViewletLayers(MapLayers):
    '''
    create all layers for this view.
    '''
 

src/c/o/collective.geo.usersmap-HEAD/src/collective/geo/usersmap/browser/maplayer.py   collective.geo.usersmap(Download)
from plone.memoize.instance import memoizedproperty
from collective.geo.mapwidget.maplayers import MapLayer
from collective.geo.mapwidget.browser.widget import MapLayers
 
 
class KMLMapLayers(MapLayers):
    """Create all layers for IUsersMapView.
    """
 
    def layers(self):

src/c/o/collective.geo.flexitopic-0.5/collective/geo/flexitopic/browser/maplayer.py   collective.geo.flexitopic(Download)
#
from collective.geo.mapwidget.browser.widget import MapLayers
from collective.geo.mapwidget.maplayers import MapLayer
 
class KMLMapLayer(MapLayer):
class KMLMapLayers(MapLayers):
    '''
    create all layers for this view.
    '''
 

src/c/o/collective.geo.index-0.1/collective/geo/index/browser/maplayer.py   collective.geo.index(Download)
#
from collective.geo.mapwidget.browser.widget import MapLayers
from collective.geo.mapwidget.maplayers import MapLayer
from search import build_query
import ZTUtils
class KMLMapLayers(MapLayers):
    '''
    create all layers for this view.
    '''
 

src/c/o/collective.geo.wms-0.2/collective/geo/wms/maplayers.py   collective.geo.wms(Download)
#
import json, urllib
from five import grok
from collective.geo.mapwidget.browser.widget import MapLayers
from collective.geo.mapwidget.maplayers import MapLayer
class WMSMapLayers(MapLayers):
    '''
    create all layers for this view.
    the file itself as a layer +
    the layer defined by the annotations (if any)

src/c/o/collective.geo.file-0.6/collective/geo/file/browser/maplayer.py   collective.geo.file(Download)
#
import logging
 
from Products.CMFCore.utils import getToolByName
from collective.geo.mapwidget.browser.widget import MapLayers