edit location using mapbox ios7? - objective-c

Is mapbox providing any feature to edit or add location annotations using mapbox iOS SDK??
If yes where the edited or added informations will be stored??(is it stored in mapbox services like google maps )
should i use developer mapid for all users whoever is using my app or i have to get the users mapid
if you suggest any sample tutorial it would be great
I referred this but i am not clear

Yes, check the documentation:
RMAnnotation lets you add annotations to the map.
Map ID refers to the map style if you are hosting the map imagery with Mapbox.
The docs page also links to sample projects and example code snippets.

Related

how to integrate google map using react-native-navigation

I want to show the current location with animation arrow and also place some dummy images(SVG images) on the map.
Please any one help for me.
There is a great library called react-native-maps where you can use google maps for both iOS and Android or use google maps for android and native apple maps for iOS.
Also this supports various animations and custom markers. You can use below link to find out uses of this library.
Link

Render Airbnb google map markers with images

How do i customize my markers to bear many images as the airbnb google map interface does? and how would i upload the images to google maps without using story maps? Any clue will be appreciated.
Read about Marker and Callout API (it depends on your need):
Follow official example for customizing them:
CustomCallout: https://github.com/react-community/react-native-maps/blob/master/example/examples/CustomCallout.js
CustomMarker: https://github.com/react-community/react-native-maps/blob/master/example/examples/CustomMarkers.js
If you don't like reading code, follow tutorial, eg:
https://codedaily.io/tutorials/9/Build-a-Map-with-Custom-Animated-Markers-and-Region-Focus-when-Content-is-Scrolled-in-React-Native
The above tut is not give you the same result, but it showed you how to customizing.

Google Map Integration in OS X Application

I would like to use use Google Map in my MAC application.
I found the iOS SDK of Google Maps but not for OS X.
I want to show two annotation and a line connecting them on Google Map. Coordinate of both annotation are dynamic as per user selection.
Below is the way I find out that can work:
Call a API and pass the location coordinate for both annotation.
Now Server side a html form is generate using javascript and create a page which is showing the 2 annotation and line connecting them.
In Api Response I will get the URL of that html page.
I will show this page in UIWebView.
I want to know is there any other way I can achieve this.
I want to distribute application outside the mac app store and to distribute outside mac store I need to sign app with Developer ID which does not support the MAPs.
I didn't find anything related to this that's why I created this thread.
Thanks in advance.
I recently ported the Mapbox iOS SDK over to OS X. It has a lot of the features of MapKit, but it’s open source and should also work in a developer-signed application such as yours. To use the Mapbox OS X SDK, download the latest release from the GitHub repository (look for releases beginning with “osx-”) and follow the instructions in README.md. An API reference is included.
I want to show two annotation and a line connecting them on Google Map. Coordinate of both annotation are dynamic as per user selection.
To display the annotations on-screen, you’ll need the MGLPointAnnotation and MGLPolyline classes. You can move the point annotations dynamically by setting their coordinate properties. The polyline, however, is immutable; to change its path, remove the existing polyline and add a new one with the new coordinates.
You will have to make it with WebKit and the Google Maps API.
MapKit is available in OS X 10.9 Mavericks: https://developer.apple.com/library/mac/documentation/MapKit/Reference/MapKit_Framework_Reference/index.html
There are of course many ways of hiding the fact that you're using WebKit but if they violate Apple's or Google's TOS then submission to the App Store won't be possible.
Hope this will be helpful!

Is it possible to use "Styled Maps" with MKMapView?

Cheers,
for about a year now Google allows you to adjust the styling of their maps according to your needs. They offer a tool which allows for the easy creation of styles too:
Google Maps API Styled Maps Wizard
What I'd like to know is: can this feature of their API be used with MKMapView as provided in the Map Kit Framework? If so, how and at which point would I feed the JSON code which the wizard produces to the API?
If this doesn't work with MKMapView: What's the next best way to include Googles Styled Maps in an app?
Thanks alot!
As far as I'm aware, MKMapView doesn't provide this functionality "out of the box" as the Google Maps API does; the class reference, seems to support this hypothesis. You could re-implement some of the styles using annotations and overlays (see the class reference), but that assumes you have access to the point of interest data. Your success will likely depend on what styles you want to use.
As for the next best way, I opened your link, the styled maps wizard, on my iPad and it seems to work flawlessly. Perhaps you could host a pre-styled map somewhere online and simply show it in your app using a UIWebView? That would obviously limit you in some ways, but at least it would be styled!

How to add multiple pinpoints into GoogleMap in Titanium Framework for iphone?

I have used Googlemap using titanium framework for iphone,I am able to dispaly 1 pinpoint/marker for given location using latitude and longitude,but when i am going to display multiple markers/pinpoints , not able to show it on Map.
I have tried to create ARRAY of points to display on the google maps, but it is just showing single pinpoint to display it on Map.
Can anybody help me out for how to display multiple pinpoints to google map using tianium.
Any useful link or code will be appreciated!!
Thanks,
Mishal Shah
sample code and documentation
http://wiki.appcelerator.org/display/guides/Using+Location+services
It appears the link has changed:
https://wiki.appcelerator.org/display/guides/Native+Maps+and+Annotations#NativeMapsandAnnotations-Annotations