Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Google Maps v2 for Android- issue with 'region' property

$
0
0

Hello all. I am using the open source module for the new version of google maps. I have created a basic map view, which worked fine until I entered in the region property. Since I added in that property, the map no longer shows up, however the Google logo, the zoom in and zoom out button, and the button, which takes a user to their current position, do appear. When I comment out the region property line, it is back functioning. Is there something I'm missing

var Map = MapModule.createView({
    userLocation: true,
    mapType: MapModule.NORMAL_TYPE,
    animate: true,
    //region:{latitude: 53.422606, longitude: -7.944465, latitudeDelta: 0.1, longitudeDelta: 0.1},
    top: '50dp',
    left:'10dp',
    right:'10dp',
        bottom:'10dp',
    borderRadius:6
});
I have 5 annotations added to the map view, I don't think that code is relevant however

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>