# Google Map on acars not displaying

**URL:** <https://forum.phpvms.net/t/google-map-on-acars-not-displaying/2340>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [April 2, 2010, 6:49am UTC](https://forum.phpvms.net/t/google-map-on-acars-not-displaying/2340 "2010-04-02T06:49:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.phpvms.net/u/Alex)\
**Post date:** [April 2, 2010, 6:49am UTC](https://forum.phpvms.net/t/google-map-on-acars-not-displaying/2340/1 "2010-04-02T06:49:18Z")

</div>

Hi all, i’m pretty new to all this so apoligise in advance.

I am using 2.0.845

and google maps v3

This is the error IE is giving me,

```
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.4; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; eSobiSubscriber 2.0.4.16; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Fri, 2 Apr 2010 06:35:08 UTC

Message: 'google.maps.MapTypeId.TERRAIN' is null or not an object
Line: 398
Char: 1
Code: 0
URI: http://www.atlasvirtualairlines.com/phpvms/index.php/acars

Message: Invalid argument.
Line: 143
Char: 18
Code: 0
URI: http://maps.gstatic.com/intl/en_ALL/mapfiles/208a/maps2.api/main.js

```

My acarsmap.tpl has not ben modified, (only added text)

[Pastebin link](http://http//pastebin.ca/1854683)

Any pointers?

Thanks

Alex

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [April 2, 2010, 12:36pm UTC](https://forum.phpvms.net/t/google-map-on-acars-not-displaying/2340/2 "2010-04-02T12:36:14Z")

</div>

Hey Alex, welcome!

2.0.845 uses the v2 maps, do you have a Google Map API key?

Make sure you don’t change Div ID’s, or the Javascript won’t know where to put stuff

---

<div class="post-metadata">

**Author:** ![Alex](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.phpvms.net/u/Alex)\
**Post date:** [April 3, 2010, 11:25am UTC](https://forum.phpvms.net/t/google-map-on-acars-not-displaying/2340/3 "2010-04-03T11:25:19Z")

</div>

i got the google key and it has been inserted via the admin page. i don’t think i touched and of the \<div\> tags?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [April 3, 2010, 4:24pm UTC](https://forum.phpvms.net/t/google-map-on-acars-not-displaying/2340/4 "2010-04-03T16:24:42Z")

</div>

> i got the google key and it has been inserted via the admin page. i don’t think i touched and of the \<div\> tags?

The ID’s seem to be different when I look at the page. Did you try the stock, non-modified templates?
