-Ti.Map renders the normal map view in both iOS and Android. But when switching to Satellite view, iOS renders everything including annotation and routes. But Android only displays annotation and no routes or any satellite view. Google play services are installed and it's been verified (see attachment). I didn't do anything different for Android as you can see in one of the attachments, iOS renders the routes, the satellite view and the annotation no problem.-
Ti.Map renders all types of maps for iOS. But some of them are blurry for Android and sometimes they don't appear at all. Like if view is zoomed-in or close enough that user would most likely see cross streets and houses, satellite or hybrid view is empty. While still in the same amount of zoom, you move to the left or right or up or down in the map and some satellite view appears but it's blurry. If you zoom out enough, map has all satellite or hybrid view but is blurry. So when user needs to get an idea where this location is and how this route really looks like, they zoom in but that doesn't really help because satellite or hybrid just disappears. Normal map doesn't give that determination sometimes.
I followed the Titanium documentation for troubleshooting
http://docs.appcelerator.com/titanium/3.0/#!/guide/Google_Maps_v2_for_Android-section-36739898_GoogleMapsv2forAndroid-Mapappearsblurry
The map module is not contained in a window that is a modal and android:anyDensity attribute in the
element is not included in AndroidManifest.xml.
When I zoom out of the map, map is not empty but the satellite view is blurry. But zooming in, only annotation and routes (if there's any) appears.
Thanks in advance to anyone who can fix this in Appcelerator.
Hi, We tried to reproduce this issue with a sample test code. It’s not a valid bug. Map SATELLITE_TYPE is working fine for both Ti Classic and Alloy. Screenshot Link: http://oi61.tinypic.com/jgku82.jpg
TESTING ENVIRONMENT:
Ti SDK 3.4.0.GA Ti CLI 3.4.0 Alloy 1.5.1 Mac OS X 10.9.5 Android 4.4.2TEST CODE ALLOY:
alloy.jsindex.xml
index.tss
index.js
TEST CODE CLASSIC:
STEPS TO TEST:
- Create a simple alloy project. - Update project with test code - Run on android deviceEXPECTED RESULT:
It’s working as expected. ThanksHello [~jhrockwell]! Can you please take a look into the test case provided above? Let me know if works for you as well. Best Regards
I've solved the problem for the routes. But satellite map either doesn't show up or it's blurry.
Hi Mauro, I've used the same code Harish Mridha provided before I started my project. I basically copied and pasted this code which is from the Titanium Map Module documentations to my current project. I only changed the region and annotation's latitude and longitude. The coordinates I used for region and annotation are same. My region's latitudeDelta and longitudeDelta are both 0.018. What I'm trying to say is that it still doesn't work. Maybe the map and these coordinates you guys are testing on are cached so they load. I'm going to provide more HTC One (2013 model) screenshots. When you zoom out of the map, the map isn't grey and empty anymore and satellite view appears *but* it's burry. When you move around the map, *some parts that have satellite are blurry and some parts are empty.* I'm not sure what's wrong and why your tests and replications work *but mine doesn't*. Could you guys please try these coordinates: latitude: 36.138828, longitude: -115.238204 for region and annotation? This is what I did:
*variable data is not empty.* If it's empty, there wouldn't be annotation or routes on my latest uploaded screenshots. I've retraced all my steps that titanium has advised developer in working with Map.Module for Android for a few days now. I even went back to google developer console to check if I have my api keys right and the app id's right. I have internet connection via wifi on this HTC One phone. For now, I'm going to use the Titanium WebView using either a googlemap for javascript or the a jQuery plugin because I've done everything Titanium documentation has stated and searched on google and nothing fixes the blurry-ness or empty-ness of the Map.Module for Android.
Hi , I tested the issue you reported. It looks like the feature "*mapType is SATELLITE_TYPE or HYBRID_TYPE*" in Appcelerator Studio is working fine for me. Coordinates with latitude: 36.138828, longitude: -115.238204 for region and annotation is also working as expected. I tested this using the *studio build: 4.1.1.201507141126 , TiSDK 4.1.0GA,alloy -v 1.6.2 and ti.map 2.3.1* *Tested Android Devices*
I recommend you upgrade studio and ti.map module to the latest build and let us know if you get the error again. I will mark this ticket as "resolved" since I can't reproduce it. However, feel free to reopen with additional information if you notice otherwise. Thanks