.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

GoogleMaps ... Please Help

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :ASP.Net

This is my code


This is my code,can you please tell me what is missing,its not working.

I have created checkboxes for each marker group, and then calling toggle function and in my aspx file i have onclick="toggleGroup('restaurant')for each check box


var newpoints = new Array();

var markerGroups = { "x": [], "y": [], "z": [], "u": [], "v": [], "w": [], "x": [], "a": [], "b": [] };

function addPoints(map, newpoints, inert,type1) {
    for (var i = 0; i < newpoints.length; i++) {
        var point = new GPoint(newpoints[i][1], newpoints[i][0]);
        var popuphtml = newpoints[i][4];
        var type1 = newpoints[i];
        var marker = createMarker(point, newpoints[i][2], popuphtml, inert, type1);

function createMarker(point, icon, popuphtml, inert, type1, markerGroups) {
    var popuphtml = "<div id=\"popup\">" + popuphtml + "<\/div>";
    var marker = new GMarker(point, ic

View Complete Post

More Related Resource Links

Transmition of data between controler action and javaScript + googleMaps



I can not understand how the views works?

  1. I can not use there asp controls as all the time I have it should be in a control runat server
  2. For what we have so much asp controls to use if we can not use it on view page?
  3. Is any possibility to use in view I dont know something which allow me to use asp controls?
  4. Is something like on view load to call a javaScript function when the view is generating??
  5. I know that my knowledge is not high but I dont know what is different when I have <body onLoad="load()"> and I will have the same function in my view like this:

<%@ Register Assembly="Artem.GoogleMap" Namespace="Artem.Web.UI.Controls" TagPrefix="map" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    All Adventures!
<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server" >
        Travel with Your friends!</h2>
    <table id="main">
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend