Add markers from the code behind.

Aug 5, 2010 at 10:08 AM
Hi Guys. Do any of you guys have any vb examples for adding markers from the code behind. Cheers! Jase
Aug 12, 2010 at 4:37 PM
I only have an example of loading one marker. Would that work?
Aug 13, 2010 at 4:12 PM

You need to add to the top of your CS file

using Artem.Web.UI.Controls;


Then add the following code: 


GoogleMarker bm = new GoogleMarker("114 Willits Street Birmingham, MI 48009");
bm.Text = "Google Detroit";

"GoogleMap1" would be the name of your map control. 
Aug 17, 2010 at 4:34 PM
Coolio, Thanks guys!!!!