iOS google map sdk user location image - ios

1.It possible to change user location image in IOS google map sdk?
If yes, I must use accelerometer or something other way?
2.Can I change the radius of my location?

I think the answers are no and no.
As far as I can see from the official documentation, there seems to be no way to change the default user location dot. There is an open issue about it. You could hide the user location and draw your own annotation with an overlay of your own choice.
As for changing the radius, you can't do that either. That radius depends on the precision of the GPS signal, but you could draw your own overlays and hide the user location as stated above. However, I really don't see why you would do that.

Related

About Drawing Maps In CarpPlay

I want to draw directions to a specific location in CarPlay. I realized that there are two different options that can be made regarding this. First of all, drawing a direct route from current location to the desired location. The second is to draw the route after showing our current location and selecting the location which we want to go on the map.
Which would make more sense for me to do?
Which authorization is appropriate for the situations I have mentioned?
com.developer.apple.carplay-parking or com.developer.apple.carplay-maps?
Parking or Map?
If you are developing a CarPlay application I would appreciate it if you would also write about the resources you used on the subject.

Positioning of location markers on top of location?

I followed the above tutorial (link) to make a sample app which will show markers depending upon the location coordinates for the objects(like a building) .I'm able to show my custom markers on the given location .But markers are floating around the location.How can fix my marker to show on the top of the building .?
Any suggestion or advice...
Thanks in advance!!!!!!
Your problem is most likely due to sensor jitter. Gyroscopes usually don't provide an stable reading.
I suggest you do a rolling average of the values and also add thresholds for minimum variation.

Why does didUpdateLocation value differ from "my location" on map?

I'm getting a user's location over time and continuously overlaying this information on an MKMapView.
My problem is, the location isn't correct. Hear me out. MKMapView's blue dot for my current location is showing my location EXACTLY correct. Correct as could be. However, my location from didUpdateLocations is not this same location. It's showing up ~500 meters WNW. I'm storing locations as CLLocation and displaying them using their coordinate member.
I can walk around and it will show my path very precisely, but offset 500m WNW. Why is this happening? How do I get my current location without this offset?
Well, it seems that the problem is China's cartography. This is well-documented:
All Maps In China Are Wrong
What The Map?
A Solution (too complicated in my opinion)
...so.... what next?
I'm going to use Chinese map providers' APIs to provide a simpler solution (Autonavi, Baidu, etc)

Free drawing on Maps

I need to create functionality where a user draws (freely) his daily route on a map. Using iOS Maps / Google Maps SDK, how can I achieve it? The MapView will be fixed at a location and a zoom level, so it doesn't move while the user is drawing. The user has to draw a route along the roads shown on the screen. How can I achieve this ?
This is implemented in this app
"There is no way to do that with MapKit: it's easy enough to draw lines when you know the coordinates, but MapKit won't give you access to the roads or other routing information. I'd say you need to call an external API to get your data"
Reference article: Drawing a route in MapKit in iPhone SDK

How to configure the zoom level in the Map?

I'm developing a BlackBerry 10 mobile application using the Momentics IDE (native SDK).
I want to display a map using the mapview qml element which seems that it belongs to the blackberry team (it's not a google map). [ Blackberry 10 mapview ]
All I want is to configure the zoom level like google do, but it looks like the blackberry map doesn't have any attribute which can guarantee that except the "altitude" element which can assign some sort of zoom .
Any one can help on this ?
The altitude property is indeed the one you use for zooming. The paradigm is "how much area is viewable from a given altitude?"
To zoom in and zoom out from the map uses the altitude property.
To create zoom in/out animation you can use a simple javascript function that manages the animation. (For example implementing Elastic or Circular animation. See the Blackberry Stock Curves documentation for more details).
Instead, if you want determinate the viewable area from a given altitude you should work with the map scale
http://www.geog.ucsb.edu/~jeff/115a/lectures/scale_and_area_measurement.html
regards

Resources