Creating an indoor map from images - leaflet

I have floor plans saved as JPEG's that I need to create maps of. I need to be able to host these as maps using a map API(have messed with leaflet and indoor.js). These are private locations so just dropping them into Google Maps doesn't really seem to be an option. Is there a good way to do this?

Related

Leaflet + Mapbox tiles is it really free?

Using the leaflet quickstart, it is suggested to use mapbox tiles, however mapbox plan has free up until certain map view.
There are two type of tiles url I tried:
var urlTile = "https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}"; which correspond with map list from here
var urlTile = "https://api.mapbox.com/styles/v1/mapbox/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}"; which uses predefined map list from here
I tried both url api (in localhost) and see my Mapbox account dashboard statistic usage is still empty. So is it actually free or not, anyone has used it in production?
After a day later, I see the statistic started to have map view count, as #ghybs said it might not updated in realtime. So its free up certain map view as described in this mapbox plan

Is there a way to use own custom data for traffic using the map?

Is there a way to use own custom data for traffic using the gmap, mapbox, leaflet. I just want to show custom data set for traffic using the map like google map indicating traffic in different colors in lanes. I just want to show the same but using own custom traffic data.
Any help would be appreciated.
there is no any Leaflet API to show traffic but you can applies traffic flow data to the map tiles before serving them by using Mapbox to draw on a Leaflet map to represent traffic.Here is the best approach that is not be using Leaflet functionality at all.
A web mapping library allows you to add a map to a web page and define the data it contains, its appearance, and a variety of functionality. Think of it like a toolbox filled with many different map-making tools that can be used together to build beautiful and interactive custom experiences.

OpenStreetMap tiles by here's api

I am writing mobile application with apache cordova engine.
I need tile and geocoder(reverse geocoder) server, for this reason I want to use here-api.
I need something as OSM, with buildings, street names... etc.
How I need request to get this type of tiles?
Or, Is it possible to get OSM tiles by here's servers?
Basically I need tiles of Armenian.
Thanks and Regards.
You cannot get OSM tiles via HERE servers. I believe you are looking for this:
https://developer.here.com/rest-apis/documentation/enterprise-map-tile/topics/quick-start.html
And then this:
https://developer.here.com/rest-apis/documentation/geocoder/topics/quick-start.html
You'll have to sign up for a plan before you can use it though:
https://developer.here.com/plans/api/consumer-mapping

Extract map information from Bing Maps

I would like to write a navigation software for windows phone 7 that is available without being on the internet. Therefore, I would like to download the map information from Bing maps. Not the entire world or country, just a small city - because this software is just for me and I only need navigation within my home town.
What I basically need is something similar to the map export that OpenStreetMap offers. I could not find anything equivalent on bing maps, so I wrote a program that queries bing maps (through the API) for routes. It then saves intersections and thus builds a graph. This technically works and I get a lot of streets, but sometimes bing leaves out a single intersection. In that case, my data will become invalid.
So I was wondering if there is any way of asking the API directly for a map export, returning something like an array of streets that is within a certain boundary rectangle. (Or something similar)
Thanks for your help
No, there is no standard API call in Bing Maps API that will let you do this.
Downloading all the street data within "a small city" would violate the terms of service. See 8.2(r) at http://www.microsoft.com/maps/product/terms.html.
If you want that data, you can try OpenStreetMap or else you would probably have to license the data from a commercial provider of such things which is no doubt very expensive.

Is there another way to load data in to the Bing Heat Map Creator than uploading a CSV?

I was looking at the Bing Heat Map Creator here.
It looks pretty cool, but I wanted to build something a little more dynamic with it. Unfortunately it appears as if the only way to use it is by uploading a CSV file manually. Does anyone know of another way to get the data loaded into this?
Thanks.
We developed the Bing Heat Map Creator, which is a Map App running on the Bing Maps platform. It is certainly possible to build similar heat mapping features in a more automated mapping application but likely would not be done as a map app due to limitations with map apps APIs. Ping me if you want to discuss further.
Regards
Steve