Created
June 8, 2011 15:55
-
-
Save jansabbe/1014701 to your computer and use it in GitHub Desktop.
sencha touch map with marker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Ext.Map({ | |
useCurrentLocation: true, | |
listeners: { | |
maprender : function(comp, map){ | |
var marker = new google.maps.Marker({ | |
position: map.center, | |
title : 'testing', | |
map: map | |
}); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment