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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/c/o/collective.geo.kml-3.2/src/collective/geo/kml/browser/viewlets.py   collective.geo.kml(Download)
 
from collective.geo.mapwidget.browser.widget import MapLayers
from collective.geo.mapwidget.utils import get_feature_styles
 
from collective.geo.kml.browser.maplayers import KMLMapLayer as BaseLayer
    def map_viewlet_position(self):
        styles = get_feature_styles(self.context)
        return styles.get('map_viewlet_position')
 
    def render(self):

src/c/o/collective.geo.kml-3.2/src/collective/geo/kml/browser/kmldocument.py   collective.geo.kml(Download)
from collective.geo.settings import DISPLAY_PROPERTIES_DATES
 
from collective.geo.mapwidget.utils import get_feature_styles
 
from collective.geo.kml.interfaces import IFeature, IContainer, IPlacemark
        except:
            self.geom = NullGeometry()
        self.styles = get_feature_styles(context)
 
    def __call__(self):