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

google maps API2 or API3

Thread began 9/01/2011 6:01 am by info429609 | Last modified 11/04/2011 11:41 am by Mike Perry | 2723 views | 12 replies |

info429609

google maps API2 or API3

hi,

before: i hope, my english is good enought, to tell you my problem:

some days ago, i bought ProMaps for Google.
before i used a own javascript to show multiple markers on a google map and i hoped, that ProMaps will help me to add new features without more expenditure of time.
but the first step by adding a map is the question about a API-key. this key was only necessary, if i worked with the old google maps api V2. with the new V3 api, i dont need any key.
in this case, i work on a website who has a .de and a .com domain. a call to the .de version or to the .com version links to the same contend. this does not work, if a have to use a API-key, because this key is individual for the .com and for the .de-domain. so the new V3 API was a great solution.
by using PorMaps i must fall back to the API-key procedure and can use a google map only for one of the domains.
is there a workaround or a plan to use ProMaps without the API.key, like the new V3-API of google maps?

regards
bernd

Sign in to reply to this post

Jason ByrnesWebAssist

see the following thread for details:
showpost.php?p=95300&postcount=2

Sign in to reply to this post

info429609

thanks for quick response. i will try it.
please one question anyway: will "Pro Maps for Google" support the API3 in the future?

regards
bernd

Sign in to reply to this post

Jason ByrnesWebAssist

At this time, we do not have any plans to update pro Maps for Google map API 3, but that will likely change at some point, I just cant say when.

Sign in to reply to this post

Marc

Does this means that a new API will be available soon?

introduction-of-usage-limits-to-maps.html

Sign in to reply to this post

Jason ByrnesWebAssist

No, that announcement means that if you have a high traffic site where the map is loaded more than 25,000 times in a day, Google is going to start changing for excessive map loads.

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  see the following thread for details:
showpost.php?p=95300&postcount=2  


Jason -- I made the changes from this post. Added the php code and replaced the original jscript line with the new one. Maps runs without asking for an API key, but the displayed map doesn't reflect the default address. The original API2 scripting worked fine on localhost.

I also noticed that in the new js declaration /*wagmp*/ is grayed out -- it displays normally in the original.

Thanks,

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of your page so i can see the code and a link where i can the problem in the browser.


your description sounds like a syntax error, but there's no way i can tell you what the error is or how to correct it without seeing the code.

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  can you send a copy of your page so i can see the code and a link where i can the problem in the browser.


your description sounds like a syntax error, but there's no way i can tell you what the error is or how to correct it without seeing the code.  


I was just going to add the file to my post --

Attached Files
cincinnati.zip
Sign in to reply to this post

Jason ByrnesWebAssist

your code looks correct except for 2 things:

1) you haven't added valid domains and keys to the switch statement

2) The original script line with the localhost api key is still in place, that will need to be removed.

if you still having a problem i need to see the page in the browser to troubleshoot.

Sign in to reply to this post
loading

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