3

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


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

Sorry for the frustration. I put a lot of time into making things work properly, but it's sometimes hard to perceive parts of the documentation that are confusing for others (since it all makes sense to me). Appreciate the honest feedback and will definitely add a "Getting Starting" guide to the site. Derek's post is good too, so be sure to follow all those ...


2

Geofinder add-on will help you here: http://devot-ee.com/add-ons/geofinder Docs: http://mightybigrobot.com/docs/geofinder/ Then each of the properties is an entry which has a longitude and latitude reference for the location. Example search form: {exp:geofinder:simple_form id="findhome" result_page="/home-search" class="group"} <fieldset> ...


2

Your issue is answered here I believe: https://stackoverflow.com/a/3066751/135935 I recently fixed the same problem by changing my CSS to use the off-left positioning suggested in the answer. Worked perfectly. Use the off-left technique for hiding inactive tab panels. E.g. in your style sheet replace the rule for the class selector ".ui-tabs .ui-...


2

Before issuing the resize call, simply record the current map centre so you can reset it. Like this: $('.tabbed-form .tabs').kosTabs({ after: function() { if(typeof Gmap !== 'undefined') { var instance = Gmap.instances[0]; if(typeof instance !== 'undefined') { var center = instance.map.getCenter(); google.maps.event.trigger(...


2

The Google Maps api provides a way for you to supply your own image for the map. https://developers.google.com/maps/documentation/javascript/maptypes#ImageMapTypes


2

I agree that Justin's docs make some assumptions and lack a proper "here's how to get started" explainer - but that's partially because his add-ons are all very powerful and can be used in so many different ways. His examples section is the best place to start. Here's how to get going in the most common circumstance (you want to plot a marker on a map in ...


2

Try This... function initialize() { var map, marker, pos; {exp:channel:entries channel="maps_channel"} {if count == 1} var mLatLng = new google.maps.LatLng({map_coordinates}); map = new google.maps.Map(document.getElementById("map-canvas"), { center: mLatLng, mapTypeId: google.maps.MapTypeId.ROADMAP, zoom: 13 ...


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

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

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.


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.


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

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

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

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": [ { "...


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

Just to point others in the right direction, I answers this question on Devotee. http://devot-ee.com/add-ons/support/google-maps/viewthread/9952 From Devotee: I am away from my computer traveling to PeersConf this week. I will get back with in detail when I can but essentially you need to geocode two fields. 1) being the zip code 2) a hidden field with “,...


1

I understand that the Google Maps for ExpressionEngine add-on is a go-to addon for "geofinding," based on this examples page in which there is a "store locator" example. As luck would have it, that particular example is borked right now (I get an "out of memory error" when I go to access the particular example). It sounds like it would be worth it to write ...


1

Unfortunately, I don't think there is anything you can do. The issue is EE is extremely inefficient at serving JavaScript. In fact, that's one of EE's weakest links is the poor JavaScript support across the board. Essentially each fieldtype loads its own JS, and it takes time to run all these requests. Chris Imrie wrote a nice little library for RequireJS ...


1

The exp:channel:entries tag has a default of limit="100" so you need to override that with limit="300" or a number large enough to accomplish what you need to do.


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