Discussion of the Yii wrapper for Google Static Maps API.
Page 1 of 1
[EXTENSION] Google Static Maps
#2
Posted 27 March 2010 - 03:12 AM
Alex Muir, on 18 March 2010 - 12:07 PM, said:
Discussion of the Yii wrapper for Google Static Maps API.
Thanks a lot , very nice.
How I do hyperlink for link from Google Maps, I tried add my link www.google.com/map in 'linkUrl'. but it show the map in my app, I wanna in new window and connect to Google map.
#3
Posted 27 March 2010 - 07:03 AM
I think you want a user to click on the Static map and have a new window open with the destination URL.
$this->widget('application.components.widgets.WGoogleStaticMap',array(
'center'=>'52.3214,2.34403', // Or you can use text eg. Dundee, Scotland
'linkUrl'=>'http://maps.google.com/', // You will need to get the maps page you want to link to.
'linkOptions'=>array('target'=>'_blank'), // HTML options for link tag (optional)
));
My sites: The Big Eat and The Big Space
#6
Posted 07 May 2010 - 06:32 PM
You can't have balloons with static maps.
You only need to supply a center if there are no markers.
You only need to supply a center if there are no markers.
My sites: The Big Eat and The Big Space
Share this topic:
Page 1 of 1

Help











