Hi,
I was wondering if something like the map used on this page can be use achieved using this plugin, it would be great if was.
Can someone explain me how to it?
Thanks in advance.
Hi,
I was wondering if something like the map used on this page can be use achieved using this plugin, it would be great if was.
Can someone explain me how to it?
Thanks in advance.
Great!
But where do I have to insert that code and what I have to do to make it work, I tried adding the code of your example to test it out and I'm unable to make it work, it just makes another new map in the pages.
Sorry for the questions, I'm just learning :)
Ha! don't bother just worked out the code, and works fantastic. ;^)
I leave it here if someone needs it to:
`<?php
if(function_exists('pronamic_google_maps')) {
pronamic_google_maps(array(
'width' => 500 ,
'height' => 500 ,
'map_options' => array(
// https://developers.google.com/maps/documentation/javascript/styling
// http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html
'styles' => array(
(object) array(
'featureType' => 'landscape',
'elementType' => 'all',
'stylers' => array(
(object) array( 'hue' => '#ffff00' ),
(object) array( 'visibility' => 'simplified' ),
)
),
(object) array(
'featureType' => 'road',
'elementType' => 'geometry',
'stylers' => array(
(object) array( 'hue' => '#ff0000' ),
(object) array( 'visibility' => 'on' ),
)
),
)
)
));
}?>`
You must log in to post.