How to load my own map in indoor map app? - here-api

I tried to run the indoor_map_app example in navigate\flutter but it shows a blank map, How can I load my own map to the example or get the venue id to search for it and load my own indoor map in the application ?

Did the HERE team already create the indoor map for you? Then you should have received a map ID (venue ID) which you can also enter inside the example application.
But just for your information, I think it's hard to find that info on the HERE website: You are just able to use indoor maps if you have a contract with HERE. Then you can provide them floor plans of your building and they will create an indoor map for you.

Related

how can i implement a map (not Google maps) in Flutter?

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!

How to get accurate/fresh POIs with Map tiles REST API?

A tile sent from Nokia Here-Map tiles API, contains at least two POIs that do not exists in real life and also not on other Map services like Google Maps and OpenStreetMap. How can i get accurate/fresh POIs with the Map Tiles Api?
I'm using the service with LeafletJs, and i use a hybrid.day base map and a base one, with the pois parameter set to true and map version set to "newest". The tiles i'm getting effectively contains POIs but it doesn't seem accurate. I wrote to the sales support at Nokia Here, i'm not sure they can help me, but the website also indicate to use stackoverflow for technical questions. Mine doesn't seem like a sales related question or a technical one but i see no other alternative contact.
This is a link to get a tile with incorrect POIs:
https://4.base.maps.cit.api.here.com/maptile/2.1/maptile/bd9e007617/normal.day/17/59178/60113/256/png8?app_id=mVrBstuYsfUVga31l6IX&app_code=xphvU-Uj071dI-UkNaxMrg&lg=fre&pois=true&style=default
The tile contains two POIs that do not exists in real life or on other map services like OpenStreetMap. The two are: "Ecobank" and "Restorant Aku".
The place the map shows is around these coordinates: lat:14.729235451930021
lng:-17.46165559897639
The returned tile shouldn't contains inexistant POIs.
This is an error in HERE database. You should report it through HERE Map Creator
It will go through some kind of quality moderation, so it may take a few weeks. Maybe adding a fresh photo would speed up things.

showing districts limited areas by polygon in google map in R [duplicate]

If I search a query in google maps for example "carlton victoria australia" then it will give me a map of the region with the border around that area.
My questions are:
Is there a way to get list of all regions from the google map api for
certain province or country?
Can I combine the region information for example, change the color and also add some infowindow on top of the region?
What kind of level of the region that I can get from the api (district, subdistrict, village)?
Currently Google Maps JavaScript API doesn't expose any boundaries of geographic features. There is very old feature request in the public issue tracker to add this functionality, however it looks like Google didn't set high priority on this:
https://issuetracker.google.com/issues/35816953
Feel free to star the public feature request to express your interest and subscribe to further updates from Google.
You can get polygons from other sources and add them to Google maps as additional layers.
The nice workaround to get polygons in GeoJSON format from OpenStreetMap is described in the following answer:
https://stackoverflow.com/a/40172098/5140781
So, if you download the GeoJSON you will be able to add it to map using the data layer and its loadGeoJson() method:
https://developers.google.com/maps/documentation/javascript/datalayer#load_geojson
You can style colors of GeoJSON objects and create info windows. Just read the aforementioned documentation.
I hope this helps!

Geo Map with pinning location

I am showing world map on dashboard where few locations needs to shown as highlighted. I need to highlight few locations on map based on airport code. For example, IAD is airport code for Dallas, So if a data-center having IAD in its name then Dallas will be highlighted on Map.
Till yet, I tried leaflet.js an open source geo map library. but it requires coordinates to pin a location. I want something like google map (can't use google API as paid tool) where you may pin a location by its name.
If somebody could suggest a library or a heads-up towards how to achieve it, It would be appreciated.
If you are using Leaflet, you will need lat-lng coordinates no matter what.
If you only have placenames, then you'll have to run a geocoding query to convert the addesss/placename into lat-lng coordinates. You might want to start your search in the list of geocoding plugins for Leaflet.

Point current location on google map api and fetch details about it

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

Resources