I've been working with the Azure maps indoor module https://learn.microsoft.com/en-us/azure/azure-maps/tutorial-creator-indoor-maps . In one of the tutorial videos (time stamped video of talking about icons https://youtu.be/mIDk1FSc8f4?t=2270) and in the screenshots the rooms (e.g. https://learn.microsoft.com/en-us/azure/azure-maps/how-to-use-indoor-module the screenshot at the bottom of this page doesn't match the linked live demo) have icons associated with them, however I cannot find documentation or examples of this feature.
Currently I am using GPS coordinates of rooms to set the icons using normal azure maps functionality upon initialization as a workaround, but it would be nice if I could set an icon in the manifest.json for the indoor module for the cad drawing or use a custom set of icons like was mentioned in the example video.
Thanks for the help!
E: This JSON link I found seems like it may be related to the room categories
The style and icons used in rendering is based on the category value of units, zones, etc. The discrepancy could be driven by different category values set in the manifest.json file when uploading the drawing package. We are working to make styling experiences easier and more flexible for developers.
Related
I am trying to figure out how to apply different filtering schemas for each page in an Analysis file in Spotfire Web Player/Consumer.
I have found that the Spotfire Analyst supports that (see image below) and I can create different Filtering schemas and apply them for each page:
However, the Spotfire Web Player does not seem to have such an option. I have checked the JavaScript API (link) but I cannot seem to find if there is such an option supported in the web player. Could anyone please share their experience if you know how that can be achieved
Have you tried putting the desired filters in a text area? Is there a reason the user has to use the filter panel?
In a text area filter you can specify your filtering scheme. Note I'm in 7.13 not X.
The Google Assistant can currently do this but I'm not sure if there is a way to display a clean table with the Actions on Google library. I would like to reproduce a table similar to what is displayed in the following screenshot:
This doesn't look like any of the components that are available in the library.
Would it be possible to achieve this with a BasicCard and Lists?
The exact UI above is not currently possible using the 3P components. You can use similar widgets like a list or carousel to get close to the UI above, or render the whole thing as an image and return as a card.
For anyone else with the same question, Google recently announced consumer availability of rich responses optimized for Smart Displays. As of 7/26/2018, you can now have responses with table cards.
I am working on a project where Users can interact with a Map via mouse click to see more details of an area. It is Perth Metropolitan Area Map. This Map is generated from PDF using online "PDF to SVG converter".
When I looked at generated SVG code it is so huge can't understand full of it. and did some research to see if i can find any simpler version of the Map, I see there are various options to construct SVG, detailed below.
Shapefiles : Creating maps based on real world data, I thought this is good option to go. but the problem I observed here is we need to depend on GIS tools and open databases where GIS data is available. It is too heavy for our requirement.
Geo JSON / Topo JSON : I see this is simple way to represent Maps in plain, but I could not figure out a way to generate required JSON files. After exploring more on this I understood these technologies are dependent on GIS / Shapefiles.
Inscape : UI editor to draw SVG - It is just generating lot of SVG code again.
After reviewing above all I kind of thinking may be I should learn to write own SVG map.
Can somebody advice whether I am in right direction or Are there any simple approaches to create a Map like this Perth Metropolitan Area Map ?
Thanks in advance.
I'm planning to write a Kivy app containing a (small) offline map. Kivy's Mapview widget seems to be a good choice to display maps but before I start diving into it further one question that I couldn't figure out: Is it possible to use Mapview offline, by using locally stored tiles?
I managed to do it, it turns out it is not that complicated to do but it took some research (at least for a beginner like me). Here is a rough outline:
1. MapView supports mbtiles as source as detailed in the documentation - mbtiles can be created in TileMill
2. I wanted a map in Openstreetmap style, so I downloaded openstreetmap-carto from github. The installation manual explains quite well what needs to be done in order to obtain a map in this style
4. There the biggest challenge was to set up and manipulate a PostGIS database. This link helped: http://www.bostongis.com/PrinterFriendly.aspx?content_name=loading_osm_postgis
There were some additional issues along the way but all could be solved by combing through the internet.
I want too build a web application, and I am looking at the tools I will have to use.
I want to use a real time map
I'm a thinking about :
Tilemill to get .png in order to constitue the background of my maps
or get data from a webite in shp files to build layers for this in mapnik.
Mapnik Build layers with the data I want to add on my map.
Mapnik : Put layers together and generate a map.
TileStache : generate tiles for my application.
Openlayers : Display my map with tiles in a browser.
Once my map is displayed, I'd like to add interactivity. For example when you go over a line or a circle (a town/ an event), then it gives you the attributes of this object.
But the lines and circles will integrated dirctly to the mapnik map, so I need to add some javascript to make it dynamic and open a pop-up. How do I do this ? Using Openlayer javascript libraries or node.js.
What is your advice on the question/the way I want to use theese tools?
Thanks a lot!
I'm in a similar situation, so I don't know the answer, but from what I've been able to figure out I think you're on the right track.
I started off using the Mapbox approach, which simplifies things as long as your data is static. You use Tilemill not only to generate your PNG tiles (once you've used Carto to do some nice styling) but also to import your data sets.
TileMill can export your TileJSON and UTFGrid files with the PNG tiles all packaged up and ready to use. Mapbox will then host all that stuff for you, and you can use their mapbox.js library (an extension of Leaflet) to bring it all together in the browser, with full interactivity. Opening popups would be something you'd do in Javascript in the browser - and if you mean infoWindows (the overlay window that's associated with a map point) then that would be a call to the Leaflet API.
If you're happy to create your layers and import your data offline this approach seems to be really simple and powerful; Mapbox will even render out tiles using multiple layers overlaid - so for example you can see your circles on top of a satellite image, merged into a single PNG.
The problem really comes in when your data needs to be live and you can't therefore prepare it all ahead of time in TileMill. I'm still trying to figure this all out but it does seem as though a combination of TileStache and Mapnik would be able to serve you up the TileJSON, GeoJSON and UTFGrid files you'd need as well as the tiles themselves, in the way you've outlined in the question.
You might also want PostGIS and GeoDjango or similar behind the scenes in order to hold and manage your live data, respectively.
As I said, I'm still trying to actually get my full stack working so I can't vouch for this 100% but if your data is gathered upfront then I'd definitely recommend the TileMill route for simplicity's sake.
I hope that's a help!