OpenStreetMap for flutter - flutter

I want to use OSM in flutter .but I cannot add it to flutter and i want to use any free maps like this.
I don't wanna pay for APIs .what should I do?
Is there any way to add OSM To flutter.
it takes couples of day and I can't add any map to my app!

You should use the flutter_map package, like quoci said in the comments.
It allows you to view maps from any source that gives a URL as an access method. There are plenty of setup instructions and examples on the package's readme page for you to get started.
You can even use Google Maps' Static Tiles API URL (which, don't quote me on this part, I think is legal to use without payment).

Related

How to bind bing maps in Flutter?

I Used google Maps in Flutter and it works out of box for us. I am able to do with the help of documentation like how to use google maps in Flutter But i want to Use Bing Maps in Flutter and all properties like current loc. ,Drawing polylines,custom marker,popUp on marker. Can someone suggest me where to learn thiese things or any other suggestions??
I'm not aware of any Bing Maps map control for Flutter. One option might be to use the open source Flutter map control: https://github.com/fleaflet/flutter_map
Details on how to directly access Bing Maps tiles can be found here: https://learn.microsoft.com/en-us/bingmaps/rest-services/directly-accessing-the-bing-maps-tiles
The open source Flutter Map control has an example that uses Azure Maps as well, which is another Microsoft mapping platform to consider.

Search for locations with flutter_map

I am using the Flutter Package "flutter_map" (https://pub.dev/packages/flutter_map) and have implemented a map into my flutter application.
Now I want to add a search box where I can search for places which will be then focused on the map. Is something like that already included in the flutter_map-Package? I could not find anything so far.
You'll need to use an external API to search for places. As long as you follow their terms of service and don't use them for auto completion, https://nominatim.org/ is a good one for this, and it's free + open source.
Then, you can use flutter_map's MapController() to move the map to that latitude longitude returned from the API request.

Map Navigator for SAPUI5

i'd like to ask about your idea how we can implement a map navigator in SAPUI5? For example, we need to get the current location of the user, then suggest the nearest fastfood around him. Is this possible in SAPUI5?
yes its possible.. Search in the internet and come up with something.
Get started here: http://www.w3schools.com/html/html5_geolocation.asp
http://demos.jquerymobile.com/1.4.0/map-geolocation/
It is possible to integrate map API into a SAPUI5 application. Firstly you need to decide which map provider should be used in your case. for example, if you want to use google map you can refer to this blog https://blogs.sap.com/2014/07/01/google-maps-library-for-ui5/
But SAPUI5 library provides a map control to integrate with geo map. you can refer to http://veui5infra.dhcp.wdf.sap.corp:8080/sapui5-sdk-dist/test-resources/sap/ui/vbm/bestpractices.html
You can use either SAP controls for that, for example this one:
sap.ui.vbm.GeoMap
Or you could pick any free JS third-party library and integrate it with your sapui5 view.
(There are many threads explaining how to use third-party libraries in sapui5).

Custom Maps in iPad App

I just want to build a drill down map like this - Drill Down Map
Here I want to show some data on tapping of each regions.I am out of clue. How can I ? What should I use ? From where to start ?
EDIT : In the link it's showing the country name on mouse over, instead of that I want to show some data/info of the country on touch. Please visit the map shown in the link,you'll get the whole idea.
Thanks !!
If you want total control on the map layout, and be able to check which country the users taps, there's no secret : you need to have boundaries of all countries you want to detect.
Here's the global approach I would use to reimplement something that looks like the map you linked to (I can you into more details if you want, but at first, here's the global approach) :
Get the data of the boundaries of the countries you need. This can be done using OpenStreetMap.org data.
[EDIT] I just came accross this website to download countries boundaries as files you can then use with tilemill : http://www.gadm.org/country
Use this data with tilemill (http://mapbox.com/tilemill/) : this tool is able to design maps using a language that looks like CSS but dedicated for maps. The results is great and the tool great as well. This tool also support shapes files, so if you can get the countries boundaries as shapefiles, you'll be able to use them with tilemill, and this will be easier than using .osm files from open street map). Have a look here http://mapbox.com/tilemill/data/ for the supported formats.
Then, with tilemill, export your map as an MBTile file (this file contains all tiles needed to get the map rendered at different zoom levels).
Use the route-me project to display the resulting MBTile file (in its latest version, route-me is able to do that, this feature has been implemented by the mapbox team to support their open format MBTile).
Guys from Mapbox have published a good tutorial "from data to maps" here : http://mapbox.com/demo/making_massredistrict/ this may help as well
Your best bet is to use CloudMade ( http://cloudmade.com/ ). They provide custom map builders program where you can build custom maps and can integrate those maps in your iOS app.
Depends what you are looking for. To implement the linked example it's enough with a giant image that you can split in tiles using CATiledLayer. You'll find examples if you google a little, PhotoScroller is one. If you want to display real maps you have to investigate the route me project.
I don't think that using images could be good option.Check this link - arcgis-iphone api. I am not so sure but you can get some idea from this.
Happy to help..

How to download OpenStreetMap tiles from CloudMade?

how to download cloudmade map tiles? i have to download tiles with different zoom levels? how save these tiles to database for later loading? any sample code available? any help is appreciated..
There are different options available to you.
First, you can use the Javascript "Web Maps API". This is useful if you are wanting to show the maps on a website. It will download the required tiles and display them appropriately, and give you the interface to pan and zoom the map. See their pages at http://developers.cloudmade.com/projects/show/web-maps-api
Second option is if you want to access the map tiles directly. They call it their HTTP Maps API. You will need to make the calcuations of which tiles to download, how to arrange them etc for your own application. Have a look at http://developers.cloudmade.com/projects/show/tiles
Finally, although you don't mention it in your question, I see the question is tagged with "iphone" and other related things. Perhaps you want to look at their iPhone SDK, which is similar to the Web Maps API. See http://www.developers.cloudmade.com/wiki/iphone-sdk/Examples for examples on how to use it.