Results 1 to 3 of 3

Thread: mark my position in google map

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    7
    Answers
    1
    Vote Rating
    0
      0  

    Default mark my position in google map

    how to mark my current location in google map?

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,060
    Answers
    3976
    Vote Rating
    1389
      0  

    Default

    You just need to add a marker to the google map instance on the Ext.Map
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    7
    Answers
    1
    Vote Rating
    0
      0  

    Default

    thank you mitchellsimoens for answered, but how to set the position of the maker to the current location in this example of code : var marker = new google.maps.Marker({ position: pos // pos should be my current position
    title : 'my position',
    map: map
    });


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •