tags:

views:

98

answers:

4

i want the the administrator of the webApp to create markers which would reflect on the client side and i also require a search field where in the client can type the desired location and the map is set on the same location with a better zoom level of the map.

+1  A: 

You can inject the javascript from the server side that sets the markers.

Chris Nicol
A: 

Google Maps API

Map Basics

MicTech
+1  A: 

Check out Google's excellent documentation here: http://code.google.com/apis/maps/

You can find a lot of simple examples here: http://code.google.com/apis/maps/documentation/examples/

Wouter van Nifterick
A: 

The technique I used is to create a javascript tool that lets a user (administrator in your case) set markers freely. Each time a marker is placed or moved, send a request to the server indicating its new location (using jQuery).

For viewing, I'd load the map page as normal, and then once the map is loaded, send another request to the server asking for the current locations of all markers.

Hope that helps.

TokenMacGuy