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
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

beckyjohnson - October 14, 2009 - 21:30

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

beckyjohnson - October 16, 2009 - 15:58
Status:active» fixed

I accidentally posted this in the location module queue instead of the gmap queuue. Sorry.

#3

System Message - October 30, 2009 - 16:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.