Closed (fixed)
Project:
Location
Version:
6.x-3.1-rc1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2009 at 19:50 UTC
Updated:
30 Oct 2009 at 16:00 UTC
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
Comments
Comment #1
beckyjohnson commentedIncidentally 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
Comment #2
beckyjohnson commentedI accidentally posted this in the location module queue instead of the gmap queuue. Sorry.