Page 1 of 1

MAP Maker and Google Maps

Posted: Sun Mar 10, 2013 8:35 pm
by duncan007
Hello,

i try to use the map maker and i am asked for a new key by google maps.

Any idea ?

Dun

OUH OUH Anybody in there ?

RE: MAP Maker and Google Maps

Posted: Mon Mar 11, 2013 7:11 pm
by rickier65
ORIGINAL: zeduncan

Hello,

i try to use the map maker and i am asked for a new key by google maps.

Any idea ?

Dun

OUH OUH Anybody in there ?

hmmm..... yes that does appear to be a problem. I believe Map maker was developed using the v2 of the Google Maps API. It looks like that version is being phased out.

The author of the Map Maker hasn't worked on Map Maker for quite a while now. I'll do some looking to see how much of the Map Maker app is affected. It may be that users will need to import maps and grayscale elevation maps manually. I'll try to take a look.

Thanks!
Rick

RE: MAP Maker and Google Maps

Posted: Mon Mar 11, 2013 7:36 pm
by Stridor
ORIGINAL: zeduncan

Hello,

i try to use the map maker and i am asked for a new key by google maps.

Any idea ?

Dun

OUH OUH Anybody in there ?

Edit "C:\Matrix Games\Panzer Command Ostfront\PzMAm.hta" in notepad.

Scroll to the very end of the document.

Replace the line

Code: Select all

<script src="http://maps.google.com/maps?file=api&v=2&svgf=t" type="text/javascript"></script>
With the line

Code: Select all

<script src="http://maps.google.com/maps?file=api&v=2&svgf=t&key=AIzaSyCq5nAlTNW6gefeUFC1DMFAZRvatjxFOfI" type="text/javascript"></script>
Save and then don't hammer the Google Maps Server more than 25,000 times a day.

S.

RE: MAP Maker and Google Maps

Posted: Mon Mar 11, 2013 7:48 pm
by duncan007
Great!!

it works now !

[&o]

RE: MAP Maker and Google Maps

Posted: Mon Mar 11, 2013 10:36 pm
by rickier65
I will confirm that Stridors fix above does fix the problem with Map Maker. Which doesn't surprise me since Stridor is the author of Map Maker. I'm glad to see he still peeks in here!

I've added the modified file to the list of things for inclusion in the next patch.

Thanks!
Rick

RE: MAP Maker and Google Maps

Posted: Mon Mar 11, 2013 11:47 pm
by Ratzki
Thank You.