3

The big daddy of googlemaps add-ons for EE2 is http://devot-ee.com/add-ons/google-maps but afaik there's no seamless upgrade path. You could contact objective html and ask though.


3

The easiest way to customize the map tiles is to follow this example: https://objectivehtml.com/google-maps/examples/custom-map-styles


2

Use stash to cache the results (refresh every x minutes, overwrite=no) for fast access. Chain your ajax request, and use channel:entries limit and offset parameters (e.g. after the first 50 return, hand them to map handler and call same/next ajax with new offset) Option 2 will do several requests in a row, which might not be what you want. edit: example ...


2

The basic concept behind what you need to do is generate a JSON response of your markers, and loop through them with JS and add them to the map manually. That's really the only want around the procedural JS that is injected into your page. You could load the JSON feed asynchronously too.


2

The best alternative I've found is the excellent Gmaps plugin from Rein de Vries. You can pair this plugin with his Gmaps Importer plugin (which is actually an extension of DataGrab) to replicate the importing functionality of the Objective HTML version.


2

So this site http://snazzymaps.com/ has a bunch of pre-made styles and the JS that goes with them, you might be able to drop their JS into the gmap-styles.js file to get some different custom looks. Just a thought.


1

If the city/country is the only thing you are translating it might be easier to use a 3rd party service to translate them, such as geonames.org. e.g. http://api.geonames.org/search?name=moscow&country=RU&featureCode=PPLC&maxRows=10&type=rdf&username=demo The demo name has reached its API limit, here is what the response looks like:


1

You need parse="yes" trim="yes" when you set the var (to fully parse the conditionals and remove whitespace), parse="inward" on the gmaps tag (so the parameters are parsed), and add 'random' to the 2nd use of stash get to stop EE replacing the second instance of the stash:get tag with a 'M0...' cache marker: {exp:low_search:results query="{segment_3}" limit=...


1

We've ported SL Google Maps to EE 2 by ourself, but ultimately switched to Google Maps for ExpressionEngine from Objective HTML nonetheless after a few month of operating SL GM on EE2 and several Maps-API-changes made by Google. I would recommend you to switch to Objective HTMLs Module too.


1

Another Maps plugin I can easily recommend is Gmaps - the developer is always updating it and keep improving the experience..


1

I have discovered two ways of doing this which I thought might be helpful to someone, and am looking for improvements or better ideas if people have them. Method 1. Use a javascript plugin, as suggested by Justin Kimbrell, author of Google Maps for ExpressionEngine. Method 2. Use the extremely versatile 'Low Replace' ExpressionEngine plugin by Lodewijk ...


1

You might want to consider a custom query. I don't know much about exp:gmap:init but the channel entries tag can be a bit of an overkill sometimes when it comes to simple output.


1

Only had a very very quick look at this one and admittedly being very very naughty haven't tried the code out but noticed that you have a cache set. Did you by any chance load the page when you only had the one entry and then tried again before the cache had refreshed perhaps? Just a quick thought though.


1

Issue was that the jquery.min.js file was in the footer, it was preventing the map from being rendered


1

I just implemented this on a project yesterday, and agree that the official docs/example is a bit skimpy on details. In any event... Create a file that includes your JSON object, prefixed with var stylez =, save it as "gmap-styles.js" in a place where your browser can see it. gmap-styles.js var stylez = [ { "featureType": "road.highway", "stylers": [ { "...


Only top voted, non community-wiki answers of a minimum length are eligible