Skip to content

Maps integration into cone using leaflet.js

License

Unknown, BSD-2-Clause licenses found

Licenses found

Unknown
LICENSE.rst
BSD-2-Clause
LICENSE_LEAFLET.rst
Notifications You must be signed in to change notification settings

conestack/cone.maps

Repository files navigation

Latest PyPI version Number of PyPI downloads Package build https://coveralls.io/repos/github/bluedynamics/cone.maps/badge.svg?branch=master

This package provides maps integration in to cone.app.

Map Widget

A map widget tile is included which provides OOTB default map behavior and can be used as starting point for complex custom maps.

from cone.maps.browser.map import MapTile
from cone.tile import tile
from myplugin import MyModel

@tile(name='map', interface=MyModel)
class MyMap(MapTile):
    """See ``cone.maps.browser.map`` for available tile options.
    """

Resources

The following cone.maps related application configuration options are available :

  • cone.maps.public: Flag whether browser resources are delivered for unauthenticated users. Defaults to false.
  • cone.maps.nogap: Flag whether to include Leaflet.TileLayer.NoGap plugin. Defaults to false.
  • cone.maps.geosearch: Flag whether to include leaflet-geosearch plugin. Defaults to false.
  • cone.maps.markercluster: Flag whether to include Leaflet.markercluster plugin. Defaults to false.
  • cone.maps.activearea: Flag whether to include Leaflet-active-area plugin. Defaults to false.
  • cone.maps.proj4: Flag whether to include proj4js and Proj4Leaflet plugins. Defaults to false.

Contributors

  • Robert Niederreiter

TODO

  • Default map marker rendering (from DOM elem data directly and from JSON endpoint)
  • Default map markercluster rendering (from DOM elem data directly and from JSON endpoint)
  • Geosearch on default map.
  • Activearea config on default map.

About

Maps integration into cone using leaflet.js

Resources

License

Unknown, BSD-2-Clause licenses found

Licenses found

Unknown
LICENSE.rst
BSD-2-Clause
LICENSE_LEAFLET.rst

Stars

Watchers

Forks

Packages

No packages published