I want to implement a map in flutter (can't use google maps) how can I do it? it's just a normal map with the ability to show current location constantly.
You can take a look on this package - https://pub.dev/packages/flutter_map
As a map tiles, you can use one of these https://wiki.openstreetmap.org/wiki/Tile_servers (but read open street maps terms of use https://www.openstreetmap.org/copyright).
If you want to display current location, you can use this package https://pub.dev/packages/location and you can simply add new marker on the map.
Hope this help!
Related
I want to display several markers (later i want different circle) in Google map.
I want to generate just one link without API key if possible ?
My url example:
https://www.google.com/maps?q=[FORT DE FRANCE,97200]+[DUCOS,97224]+[COUSAIX,87270]+[REMIRE MONTJOLY,97354]+[LE LAMENTIN,97232]
but several points are not displayed !
Please how to do with this just with params ?
Tanks a lot !
I don't think this is possible for multiple points on the URL. It seems what you need is Google maps place marks. If your data is static then you can manually create the points on a google map and embed that link instead.
When you type, e.g., "UC Berkeley" into Google map, it shows this:
https://www.google.com/maps/place/University+of+California,+Berkeley
Where the campus is shown in a different and yellowish color.
Apparently Google distinguishes campus from non-campus.
I wonder is there any way I can get the geofence using Map API?
Googling this question returns overwhelming results on how to
create geofence, not on how to get geofence. thx.
I'm working with Google Maps API and unfortunately I'm almost sure that it's not possible. I think Google define the marker color contrasting it with their database.
Then, the best option is managing it yourself, sorry.
Fetch user's current location's latitude and longitude and drop marker on it through google map api also display some information related to that location.
Google map provides a very good documentation about their API. As you want to use the marker on map you may consider using google's tutorial from their documentation:
https://developers.google.com/maps/documentation/javascript/markers
For displaying information you may get the idea from here:
https://developers.google.com/maps/documentation/javascript/infowindows
I have an account for Nokia Maps API but am wondering what URL I should use to request tiles through the API correctly? I am using the Leaflet maps API and my URL string looks like this:
http://3.maptile.lbs.ovi.com/maptiler/v2/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?app_id=XXX&token=XXX
It works, but I don't believe I am using the API correctly - I just stole the first part of the URL (http://3.maptile.lbs.ovi.com/maptiler/v2/maptile/newest/normal.day) from the Network tab of dev tools when I checked out Nokia maps in my browser.
In the documentation it tells me I can request based on lat, long and zoom, but not based on X and Y.
Is anybody familiar with Nokia Maps API?
Regarding the original question I'm guessing you have acquired credentials for the Map Image API: http://developer.here.net/docs/map_image/index.html There are a series of interactive examples available, which explain how to get back a static map image using latitude and longitude such as this one here: http://developer.here.net/apiexplorer/examples/api-for-rest/getting-started/basic-map-wh.html All the urls for the Map image API start with http://m.nok.it
Using URLs for the map tiles from the http://here.com website isn't the same service, it isn't an official API (hence the reason it is undocumented) and the URLs could be changed without notice.
Updated
HERE now offers three web-based Maps APIs, and since last year a TMS (Tile Map Service) a.k.a. Map Tile API, which is what I think you are after is now publicly available.
As noted by Luciano Issoe, the correct URLs for the Map Tile API are now publically documented see: https://developer.here.com/rest-apis/documentation/enterprise-map-tile
Alternatively, if you want to use an interactive map service with Nokia's mapping data, your best bet would be to use the Maps API for Javascript described here:
http://developer.here.net/docs/maps_js/index.html
It seems that it´s a documented service now: https://developer.here.com/rest-apis/documentation/enterprise-map-tile
To retrieve a map covering a specific area using the Map Image API, add two points of interest to the map for the top right and bottom left corner and then use the nomrk to make the POIs invisible:
http://m.nok.it/?w=512&poi=52.6764,13.7636,52.351,13.0185&nomrk
We are developing a Google map application. On the admin side, we should able to create new place in the Google map and have it replicate on the front-end side.
I do not mean marker creation, I am asking about place creation (like street name/village name /business name)
Its possible to do this?
Depending on how you want the information to appear, there are a couple of ways:
1) www.google.com/mapmaker lets you add information to the base Google map. After moderation, it will appear to all users. Mapmaker's only available in certain countries.
2) The Google Places API lets you add places such as establishments and points of interest, and make them available to your own application immediately. They'll also enter the moderation queue and may be added to the base map: http://code.google.com/apis/maps/documentation/places/#PlaceReports