Frontend: showing marker in Wikitude (via Augmented-Reality API)
Each marker and layer has a corresponding Wikitude ARML-Feed which can be accessed directly, e.g.
http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-wikitude.php?marker=1
or
http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-wikitude.php?layer=1
or the following for all markers:
http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-wikitude.php?layer=all
To display your markers within Wikitude Augmented-Reality World Browser, just follow these steps (I would recommend submitting only layer maps or all markers):
- sign in at wikitude.me with your Facebook-, Twitter-, Google- or Yahoo-Account by clicking on the Button “To DevZone”
- click on the menu item “Publish”
- click on the button “Create World” / “New”
- select World Type “ARML”
- enter your webservice URL (
http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-wikitude.php?layer=allfor example) - click on “next” in the bottom right corner
- optional: select a language and click again “next”
- select at least 1 categorie and click again “next”
- click on “save”
That´s it – if there are no errors, your POIs should be visible in the Wikitude World Browser.
Remarks
- The official Wikitude webservice documentation can be found here: http://wikitude.me/assets/WikitudeWebservice.pdf
- The ARML (augmented reality markup language) Specification for Wikitude 4 can be found here: http://www.openarml.org/wikitude4.html
- The webservice only delivers markers to Wikitude within the radius of the users position which is set in the settings (Search radius (in meter)). This variable was introduced for sites with huge amounts of markers spread throughout the country in order to keep database load low. A good tool to help you determining the ideal radius for your site can be found at FreeMapTools.com
- Email, phone number and attachments in settings can be set globally for all markers only.
Debug Latitude and Debug Longitude are set to help you with testing – change this to a location near your markers and you just have to call your webservice URL in the browser without any parameters to check the results.With v1.1 of Leaflet Maps Marker, there is no need anymore to set debug longitude and latitude in settings to get results when calling Wikitude API links as marker lat/lon respectively layer center lat/lon are used if Wikitude API links are called manually for testing purposes without the parameters&latitude=and&longitude=.
- the webservice supports the search function from Wikitude. This means that if a user searches within the Wikitude app, the webservice checks if the search term is found within the marker name or popup text. You can check the results by appending ?searchterm=XYZ to your webservice URL. If search delivers the correct results on your site but don´t show up within the Wikitude app, please contact Wikitude support (info@mobilizy.com).