goMap() google maps plugin - marker shadows problem
I'm using the goMap Google Maps plugin very successfully (and I highly recommend it) - except that I can't seem to set shadows on my map markers. There appears to be support for this in the plugin source code - but there's no documentation I can find.
Anyone got an clues on how to do this?
This is a simplified version of the code I'm trying to use. I have checked the obvious/stupid things - file path is correct (the image isn't 404ing in firebug), and there's no js errors being thrown, or any other warnings reported.
- /* --- Add markers to map --- */
- addMapMarkers = function(){
- $(".event-item").each(function(){
- $this = $(this);
-
- metaTitle = $this.find("h3").text();
- metaLocationLat = $this.find(".metaLongLat .latitude").text();
- metaLocationLong = $this.find(".metaLongLat .longitude").text();
- markerImage = "/images/map-markers/custommapmarker.png";
- markerShadow = "/images/map-markers/shadow.png"; /* NOT WORKING */
- bubbleContent = 'Content of popup bubble';
- $.goMap.createMarker({
- latitude: metaLocationLat,
- longitude: metaLocationLong,
- title: metaTitle,
- icon: markerImage,
- shadow: markerShadow, /* NOT WORKING */
- html: {
- content: bubbleContent,
- }
- });
- });
- }
- /* --- Create map --- */
- $("#map-container").goMap({
- latitude: -28.149,
- longitude: 134.033,
- zoom: 4,
- scaleControl: false,
- maptype: 'HYBRID'
- });
- addMapMarkers();
The result of this code is a map that displays correctly with a marker using a custom graphic - but no shadow.
Any ideas?