Deep Map SDK Web
Select with OriginalSerial
In this tutorial you will learn how to select an element on the map using an original serial (ID) - not by clicking. This might be necessary if you want to embed a specific section of the map in another web view, for example linking an exhibitor's details view to a map showing his location on the venue.
Add highlight function
After creating a web map, as outlined in "A Map Application", you can call the select method in the map init success callback:
This select function has to be previously defined, as shown here:
Add this HTML and CSS to achieve an ideal map view:
That's it! Now you are able to select an element on the map by ID.