Hi Ross,
I tried that first based on your suggestions but it didn't work for
me. It makes the whole map disappear. Not sure if I'm doing it right
but this is what I did:
function LoadMapSearchControl() {
var options = {
zoomControl :
GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
mapTypeControl :
GSmapSearchControl.MAP_TYPE_ENABLE_ALL,
title : "Property Details",
url : "<?php the_permalink(); ?>",
idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM,
activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM
onBootComplete : bootComplete
}
and then tried
function LoadMapSearchControl() {
var options = {
zoomControl :
GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
mapTypeControl :
GSmapSearchControl.MAP_TYPE_ENABLE_ALL,
title : "Property Details",
url : "<?php the_permalink(); ?>",
idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM,
activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM
onBootComplete : bootComplete
};
but neither worked...
On Jun 20, 1:49 am, Rossko <[email protected]> wrote:
> > Oohh, I just realized I am also missing the control bar that lets you
> > switch between hybrid, satellite, and regular road map.
>
> Have a look at your setup options -
> function LoadMapSearchControl() {
> var options = {
> zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
> ... etc.
> }
> Then you do -
> options = {
> onBootComplete : bootComplete
> };
> which destroys your previous version.
>
> Just consolidate that new option in with the others.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---