When I select "Highlight marker for node argument" in my gmap view, the highlight is set for highlighting at perhaps the entire US zoom level. My view's zoom level is perhaps 10 or 20 miles of map, and the entire map in this case is one big highlight.

Ideally, the highlight could be based on the market size (or even change the market color for the Global:Null nid) not based on miles of map.

Does that make sense?

By the way, thanks for the great module.

Comments

Andreas Radloff’s picture

That's because highlightMarker in highlight.js is basing the size of the highlight on the default zoom, not the actual zoom of the map you are viewing. Sounds more like a bug than a feature to me.

You can change the default zoom level to something higher in your Gmap settings to work around the problem.

firebus’s picture

me too. the highlight is the correct size when the map is first viewed, but if the user zooms in or our the highlight size does not change. is this a limitation of the google maps API? or is it possible to fix somehow?