Active
Project:
Geofield
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2013 at 23:26 UTC
Updated:
6 Feb 2013 at 00:29 UTC
Currently the bulk of code in the OpenLayers widget is not specific to OpenLayers but would be relevant to any map-based widget.
As a result, any attempt to build a Geofield-compatible widget for a non-OpenLayers library would involve forking and maintaining almost identical code. See e.g. this issue on Leaflet widget: #1834446: Support Geofield 2.x.
Related issues on Geofield:
Refactor the code in geofield's OpenLayers widget to generecise the widget, allowing specific libraries to plug in, with OpenLayers as the example that ships with Geofield. From there, support for e.g. Leaflet would involve minor altering to the widget handling.
Comments
Comment #1
nedjoThis would basically try to complete the direction originally outlined in #1273802: Geofield/Openlayers widget refactor, which was to generecize a Geofield widget. Possibly this is a duplicate of that issue?