Hello everyone,

I adopted the google maps module and converted it using Cloudmade's OSM Maps and Leaflet API. Geolocation has moved to BING Rest API, as the Google Maps API needs a Google Map to use the service.

I created a sandbox project and configured a fresh install of my distribution for a quick view and testing. Any comments are appreciated. I am not sure about the name. Maybe it should contain Leaflet, too?

Comments

derjochenmeyer’s picture

Could we add this as a submodule to the Geolocation Field bundle?

markaspot’s picture

please! would love to see it in there ...

derjochenmeyer’s picture

We could add this to a 7.x-2.x-dev branch. Would you be interested in Co-Maintaining the sub-module?

markaspot’s picture

yes, i would like to ...

rdeboer’s picture

Thanks for doing a Leaflet interface! This will be useful especially at the input side of things.
For the output side, showing the output of a View on a Leaflet map with configurable markers, centering options, differentiator field etc also have a look at "IP Geolocation Views and Maps", http://drupal.org/project/ip_geoloc. That module works well with Geolocation Field as the location storage provider.

markaspot’s picture

Assigned: Unassigned » derjochenmeyer
StatusFileSize
new79.82 KB

Sorry for taking that long to apply this as a patch.

juliencarnot’s picture

Issue summary: View changes

Hi all,

Sorry for digging this old issue out, but I understand the discussed patch would allow to use the Leaflet module to display my data on OSM rather than on a Google Maps, storing data with Geolocation rather than Geofield, without using ip_geoloc, which isn't ported to D8 yet.

Did this patch make it into the Geolocation project? If not, is this feature still considered or did I miss another solution applicable to D8 to display geolocation data on an OSM map?

Thanks for your help!

markaspot’s picture

Hi JulienC, please checkout Geolocation OSM. I added leaflet as map library and Nominatim for geocoding. Maybe this will fit your needs.

juliencarnot’s picture

Thanks a lot for pointing this submodule I had not seen before, Markaspot!

I'll check out the code and will give it a try. Would you like me to try to document the install (if I manage to get there) and the main features, to help moving towards integration in Geolocation field?

therobyouknow’s picture

Component: Geolocation field » Geolocation Field / Backend

2 questions:

1) What patch command supports binaries for patching the pngs in your patch, please?

robdaviswork@Workstation-U64:~/Downloads/geolocation-7.x-1.x-dev$ curl https://www.drupal.org/files/geolocation-cloudmade_leaflet_submodule-1792770-6.patch | patch
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 81736  100 81736    0     0  72204      0  0:00:01  0:00:01 --:--:-- 72204
patching file README.TXT
patching file geolocation_cloudmade_osm.css
patching file geolocation_cloudmade_osm.info
patching file geolocation_cloudmade_osm.module
File geolocation_cloudmade_osm_5078093703bc.tar.gz: git binary diffs are not supported.
patching file geolocation_cloudmade_osm_dynamic_formatter.js
patching file geolocation_cloudmade_osm_widget.js
File layers.png: git binary diffs are not supported.
File marker-shadow.png: git binary diffs are not supported.
File marker.png: git binary diffs are not supported.
File popup-close.png: git binary diffs are not supported.
File zoom-in.png: git binary diffs are not supported.
File zoom-out.png: git binary diffs are not supported.
robdaviswork@Workstation-U64:~/Downloads/geolocation-7.x-1.x-dev$ ls
geolocation                    geolocation_cloudmade_osm_dynamic_formatter.js  geolocation_cloudmade_osm.module     README.TXT
geolocation_cloudmade_osm.css  geolocation_cloudmade_osm.info                  geolocation_cloudmade_osm_widget.js

2) Does this module support using Geolocation field with Views using Open Street Map/OSM/OpenStreetMap?
(included variations in my question for naming Open Street Map to help others when searching)

Thank you for your contribution!

christianadamski’s picture

Status: Needs review » Closed (won't fix)

Closing all 7.x issues. It's time.