close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can get default zoom to work

Thread began 2/08/2010 6:20 pm by flhomesites394744 | Last modified 2/16/2010 4:31 pm by Jason Byrnes | 1056 views | 7 replies |

flhomesites394744

Can get default zoom to work

Hi,
I added the code to make the default zoom to work when the map opens but I cannot get it to work on one of my maps. My other maps work fine, but this one shows a gray screen.

Here is the page of code: wagmp_map_2.php


Thanks!!!

Sign in to reply to this post

Jason ByrnesWebAssist

this is a link to the maps javascript file, can you post a link to the page you included the map in that does not work instead?

Sign in to reply to this post

flhomesites394744

Here is the link to the page of the map:

meadows1.php

Sign in to reply to this post

Jason ByrnesWebAssist

When I load this page, I get a an error saying the api key is for different web site. Please visit:
maps/

to generate an API key for your site:
www.primefloridaland.com

Sign in to reply to this post

flhomesites394744

The API key is set for this page now.

The map will not display

meadows1.php

Sign in to reply to this post

Jason ByrnesWebAssist

try re uploading the google_javascript/wagmp_maps.js file, it does not look like it was properly uploaded.

Sign in to reply to this post

samratds349156

Hi

I am trying to set the initial zoom level so that the map zooms in london and doesnt show the whole world with UK .
How can I do that ,I have set the Country =UK and city = London and rest are picked from database.sometimes it is working some times it zooms in to UK map

mapsearch.asp

Sign in to reply to this post

Jason ByrnesWebAssist

the default map that is used if the address look up fails is created by this code:
map.setCenter(new GLatLng(30, -98), 3);




you can change the latitude and longitude to 55.378051, -3.435973, this center the map on the UK:
map.setCenter(new GLatLng(55.378051, -3.435973), 3);



you can also modify the zoom setting:

map.setCenter(new GLatLng(55.378051, -3.435973), 7);

to zoom in a bit.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...