Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Plot Some Locations On Google Maps

google spring jsp maps sample code

  • Please log in to reply
2 replies to this topic

#1 YogeshP

YogeshP

    CC Lurker

  • New Member
  • Pip
  • 3 posts
  • Programming Language:Java, C#, Others
  • Learning:Java, C#, Others

Posted 31 July 2012 - 07:07 PM

Hi,

I am working on Java & Spring MVC 3.0. I want to embed google maps into my JSP. My JSP will get the locations from the database and plot the locations on the Google MAP. When i click on the location balloon on the map, it should pop-up some information regarding the location. I know we have to use Google Maps API for the same. I am not getting some clear code samples. Can anyone please help me with some references or samples on similar lines.

Any suggestions or ideas would be of great help.

Thanks & Regards,
YogeshP
  • 0

#2 wim DC

wim DC

    Roar

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 2681 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Python

Posted 01 August 2012 - 12:01 AM

I've always found the google maps documentation itself pretty well written.
https://developers.g...verlays#Markers
As a starter with the code at the given link, you only need a <div> on your page named "map_canvas", and you should turn the latitude and longitude into variables.
  • 1

#3 YogeshP

YogeshP

    CC Lurker

  • New Member
  • Pip
  • 3 posts
  • Programming Language:Java, C#, Others
  • Learning:Java, C#, Others

Posted 01 August 2012 - 06:37 AM

I've always found the google maps documentation itself pretty well written.
https://developers.g...verlays#Markers
As a starter with the code at the given link, you only need a <div> on your page named "map_canvas", and you should turn the latitude and longitude into variables.


Thanks a lot wim DC. That is of great help for a good start. Will keep posted once i try out.

Thanks & Regards,
YogeshP
  • 0





Also tagged with one or more of these keywords: google, spring, jsp, maps, sample, code

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download