-
collective.geo.json-0.3-1.lbn25.noarch
Some web mapping clients like leaflet or polymaps only accept json as an input format. This product produces it.
It does not have any user interface, it just provides a GeoJson view for contentitems, folders and collections. To test just append @@geo-json.json at the url.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
collective.geo.kml-3.2-1.lbn13.noarch
collective.geo.kml provides KML views for georeferenced objects, allowing Plone containers and
collections to be visualized in Google Earth.
It also provides a map view to Plone Folder and Topic content types to display kml data.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 13
-
collective.geo.kml-3.2-1.lbn19.noarch
collective.geo.kml provides KML views for georeferenced objects, allowing Plone containers and
collections to be visualized in Google Earth.
It also provides a map view to Plone Folder and Topic content types to display kml data.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.geo.kml-3.2-1.lbn25.noarch
collective.geo.kml provides KML views for georeferenced objects, allowing Plone containers and
collections to be visualized in Google Earth.
It also provides a map view to Plone Folder and Topic content types to display kml data.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
collective.geo.leaflet-0.2.3-1.lbn19.noarch
This package use the collective.geo.* suite with leaflet.
How to add baseLayer
====================
What is a leaflet baseLayer :
http://leafletjs.com/examples/layers-control.html
In Plone, if you want to add a baseLayer, you have to add a subscriber on collective.geo.geographer.interfaces.IGeoreferenced (for exemple, in `configure.zcml`)::
<subscriber
for="collective.geo.geographer.interfaces.IGeoreferenced"
provides="collective.geo.leaflet.interfaces.IMapLayer"
factory=".maplayers.OpenStreetMap
/>
After, create your factory in python (`maplayers.py`)::
from collective.geo.leaflet.maplayers import MapLayer
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
class OpenStreetMap(MapLayer):
name = u"osm"
title = _(u"Open Street Map")
index = ViewPageTemplateFile('browser/layers/osm.pt')
And add your javascript into a template file `osm.pt`::
<script type="text/javascript">
var osmAttrib = '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors';
var osmUrl = 'http://{s}.tile.osm.org/{z}/{x}/{y}.png';
var %(name)s = L.tileLayer(osmUrl, {
attribution: osmAttrib,
});
</script>
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.geo.leaflet-0.2.3-1.lbn25.noarch
This package use the collective.geo.* suite with leaflet.
How to add baseLayer
====================
What is a leaflet baseLayer :
http://leafletjs.com/examples/layers-control.html
In Plone, if you want to add a baseLayer, you have to add a subscriber on collective.geo.geographer.interfaces.IGeoreferenced (for exemple, in `configure.zcml`)::
<subscriber
for="collective.geo.geographer.interfaces.IGeoreferenced"
provides="collective.geo.leaflet.interfaces.IMapLayer"
factory=".maplayers.OpenStreetMap
/>
After, create your factory in python (`maplayers.py`)::
from collective.geo.leaflet.maplayers import MapLayer
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
class OpenStreetMap(MapLayer):
name = u"osm"
title = _(u"Open Street Map")
index = ViewPageTemplateFile('browser/layers/osm.pt')
And add your javascript into a template file `osm.pt`::
<script type="text/javascript">
var osmAttrib = '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors';
var osmUrl = 'http://{s}.tile.osm.org/{z}/{x}/{y}.png';
var %(name)s = L.tileLayer(osmUrl, {
attribution: osmAttrib,
});
</script>
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
collective.geo.mapcontent-0.1-1.lbn13.noarch
This is a very small and lightweight integration of OpenLayers and collective.geo.mapwidget. Idea is to have a map content type to create full customizable maps with the collective.geo flexibility. And the final goal is to store some javascript boilerplate on a content type to initiliaze the map.
As it requires writing some javascript with OpenLayers and jquery, it is not an 'end user' solution but a convenient and flexible way to integrate OpenLayers in plone.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 13
-
collective.geo.mapcontent-0.1-1.lbn19.noarch
This is a very small and lightweight integration of OpenLayers and collective.geo.mapwidget. Idea is to have a map content type to create full customizable maps with the collective.geo flexibility. And the final goal is to store some javascript boilerplate on a content type to initiliaze the map.
As it requires writing some javascript with OpenLayers and jquery, it is not an 'end user' solution but a convenient and flexible way to integrate OpenLayers in plone.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.geo.mapcontent-0.1-1.lbn25.noarch
This is a very small and lightweight integration of OpenLayers and collective.geo.mapwidget. Idea is to have a map content type to create full customizable maps with the collective.geo flexibility. And the final goal is to store some javascript boilerplate on a content type to initiliaze the map.
As it requires writing some javascript with OpenLayers and jquery, it is not an 'end user' solution but a convenient and flexible way to integrate OpenLayers in plone.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
collective.geo.mapwidget-2.1.2-1.lbn13.noarch
collective.geo.mapwidget provides some handy page macros and adapters to easily manage multiple maps on one page.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 13