4

I've an EE1 site (I know, just..quiet) running SL Google Maps to geolocate posts. It just started not responding from the CP side of things and I suspect that it's related to Google discontinuing support for an older API.

Any options here besides upgrading it all to EE2? I just wasn't quite ready for that task yet.

3
  • 1
    what functions you want too keep? I check SL Google Maps code and is no easy ways to switch api2 to api3. If you know gmap api3, it is takes 2-3h.
    – Max Lazar
    Nov 24 '13 at 8:47
  • All of the functions..;) Nov 25 '13 at 12:51
  • Well, maybe not. I need the CP side of the Map presentation & geolocating, and the front-end side of feeding lat/long to Google for displaying markers on a map. Nov 25 '13 at 12:57
2

Change Api2 to Api3 is almost the same as create new ft. From all exist geo add-ons for EE 1, you can try Geotagger (possible you need to speak with Mightybigrobot). I don't have last version, but I believe that they was able to which to API3.

If they have this version, you just will needed to split data from current SL Google Maps to Geotagger fields (they have separate field for lat & long). Something like

UPDATE exp_weblog_data SET you_new_field_lat =  SUBSTRING_INDEX(you_old_field,',', 1), you_new_field_lng =  SUBSTRING_INDEX(you_old_field,',', 2)

Plus you will need to make small change in frontend using any of exist gmaps jquery plugins.

1

There was another addon (free) called CoolLocation that worked for EE1 along these lines. http://devot-ee.com/add-ons/coollocation

I suspect you'll have the same issues with the changes to the Google API, but it might be worth a shot. I'm not sure you can find it online anymore -but holler if you need a copy - I've got one.

If you've already got all your coords and aren't creating new entries, you can also roll your own new map using Mabox/Leaflet.

3
  • CoolLocation is one of the most oldest gmaps add-ons for EE1. It is used API2 and rebuild it will be more complicated task then SL Google Maps.
    – Max Lazar
    Nov 25 '13 at 4:17
  • I got burned once by CoolLocation and how it was abandoned by its creators (even while it was still relevant). Not going there again..;) Nov 25 '13 at 12:52
  • well, it was field from pre-FieldFrame period. But as I remember, it is never work fine :)
    – Max Lazar
    Nov 25 '13 at 15:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.