Request for invalide Marker set Big Red! Error. Is there something wrong withe my code?
beckyjohnson - October 14, 2009 - 19:50
| Project: | Location |
| Version: | 6.x-3.1-rc1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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,''); ?>Thanks,
Becky

#1
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
Becky
#2
I accidentally posted this in the location module queue instead of the gmap queuue. Sorry.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.