Google

GMapWTP

The Google Maps JavaScript API lets you embed Google Maps in your own web pages.
Eclipse WTP support javascript code content assistance,but Google Maps Javascript API doesn't work.
GMapWTP is a tool make Eclipse WTP support Google Map API.

Download

you can download here.

Installations

step1:download gmapwtp_version.jar
step2:find you Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar,backup the plugin.
step3:double click the jar file or run with command java -jar gmapwtp0.1.jar
step4:on the opened swing UI,choose org.eclipse.wst.javascript.ui_xxxxxxx.jar,and output dir.
You can rename gMap2 to map if you use map as GMap2 variable.also you can use comma support more than one variables.
step5:click generate button.
step6:replace old org.eclipse.wst.javascript.ui_xxxxxxx.jar file with the generated file.
step7:restart eclipse.

How it works

GMapWTP add Javascript code content assistant config file's to Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar.
here is the config snippet copied from the plugin,which make WTP support document.getElementById
#/---------------------------------------
#!getElementById()
#@type=method
#@iesupport=y
#@nssupport=n
#@ecmasupport=n
#@fc=doneclass