Page 1 of 1

google map help.

Posted: Mon Mar 09, 2015 6:47 am
by She

Hi Team,

  1. how can i change the "." marker to "alphabets?"

    i used this code for sample in button click:

    var myOptions = {
    zoom :8,
    center: new google.maps.LatLng(37.63, -122.424),
    mapTypeId: google.maps.MapTypeId.ROADMAP
    };

    var map = new google.maps.Map($('div[dsid="google_map"]').get(0), myOptions);

    //San Francisco, with custom marker
    var sfLatlng = new google.maps.LatLng(37.775, -122.4183333);
    var marker = new google.maps.Marker({
    position: sfLatlng,
    map: map,
    title: "San Francisco",

    });

    //San Jose
    var sjLatlng = new google.maps.LatLng(37.3394444, -121.8938889);
    var marker = new google.maps.Marker({
    position: sjLatlng,
    map: map,
    title: "San Jose"
    });

    //San Mateo
    var smLatlng = new google.maps.LatLng(37.5630556, -122.3244444);
    var marker = new google.maps.Marker({
    position: smLatlng,
    map: map,
    title: "San Meteo"
    });

    this is the output of that:

    Image

    i just want to change the "." to alphabets i tried the code using this link by max:
    https://getsatisfaction.com/apperyio/...

  2. how to insert this marker message on the middle:

    Image

    the output of the message must be:
    A. San Francisco
    B. San Jose
    C. San Mateo

    Thanks,


google map help.

Posted: Mon Mar 09, 2015 6:29 pm
by Egor Kotov6832188

Hello She.
how can i change the "." marker to "alphabets?"

I'm not following the question. What do you mean

  1. how to insert this marker message on the middle:
    You need to override the default marker, provided by google. You need to find a way ho to do this.