• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to display google map using LAMATEK API  RSS feed

 
sandeepy yadav
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I am working on a project in which I have to display dynamic map. So I have used LAMATEK api for jsp/map.
I have follow the installation instructions for it.
1. Edit the tomcat_home/conf.web.xml file
2. edit application web.xml as well.

My jsp page is like:-

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">

<%@ taglib uri="/WEB-INF/googlemaps.tld" prefix="googlemaps" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form action="">
<googlemaps:map id="map" width="250" height="300" version="1" type="STREET"
zoom="8">
<googlemaps:key domain="localhost" key="ABQIAAAAxlCvosOkYMmZ6BtE72N2MhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRWidDs7y3-Y4hRvVBNKjJtoGNMOA"/>
<googlemaps:point id="point1" address="74 Connors Lane" city="Elkton"
state="MD" zipcode="21921" country="US"/>
<googlemaps:marker id="marker1" point="point1">
<googlemaps:infowindow display="false">
74 Connor Lane<br/>Elkton, MD
</googlemaps:infowindow>
</googlemaps:marker>
<googlemaps:circle id="circle1" point="point1" radius="10" color="#ff0000"
weight="3"/>
<googlemaps:panControl enable="true"/>
<googlemaps:typeControl enable="true"/>
<googlemaps:zoomControl enable="true" size="large"/>
<googlemaps:wheelControl enable="true"/>
<googlemaps:scaleControl enable="true"/>
</googlemaps:map>


</form>
</body>
</html>


When I try to run my tomcat server , it displays nothing(a blank page).

Can I anybody help me out from this issue.


Thanks
Sawan





 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What HTML does that produce? Are there any JavaScript errors? Are the Google Maps servers being accessed at all? (An HTTP monitor like the Firefox extension LiveHttpHeaders can help with the last one.)
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!