noc.gis.overlays.points

Package Contents

class noc.gis.overlays.points.OverlayHandler(**config)

Bases: object

handle(self, bbox=None, **kwargs)

Re :param kwargs: :return: GeoJSON data

class noc.gis.overlays.points.PointsOverlay(collection, position, text)

Bases: noc.gis.overlays.base.OverlayHandler

points overlay - display custom points on map

config:
collection: collection name position: position property name (GeoPointField) text: text label property name
handle(self, bbox, **kwargs)