I wanted to create a simple map for the node view and I made a template and put the following code in it. I have Big Red as the marker I want to show up but when I load the code and view a page I get "Request for Invalid Marker Set Big Red!"
Is this code correct ?
<?php
$lat = $location [latitude];
$long = $location [longitude];
print gmap_simple_map($lat, $long, 'Big Red', '', 7, '600px', '700px', FALSE,''); ?>
Incidentally I just noticed that with the above code, the bubbles on the Node Locations page get HUGE when they load. They re size really badly and I wonder if I have the wrong tpl file which is causing a conflict or if it is reading the height and width in the above code as the width and height for the bubble.
My tpl file name is node-gmaps.tpl.php
Here is the tutorial I used, incidentally, : http://www.drupalove.com/drupal-video/gmap-location-module-basics-drupal-6
I read some posts in the queue and decided to upgrade to the RC2 version of the module but no dice.
Becky
Comments
Comment #1
EvanDonovan commentedPlease upgrade to either 6.x-1.1 or 6.x-1.x-dev, and see if you can reproduce.
Comment #2
rooby commentedClosing due to inactivity.
Please reopen if this is still an issue with the latest version.