Welcome, Guest Login

Support Center

Dynamic Image Map Block

Last Updated: Mar 24, 2014 10:01PM EDT

image map with location support

Usage

Block supports mapping POI(Point of Interest) on to the background image. POI is defined by the true pixel in relative to top left of the image. POI depends on the data source.( If you don't need to dynamically assign the location from the data, use Image Map block instead ).

If Enable GPS is checked, block triggered GPS location and marker will move if you are in the range. To do that, you need to assign latitude and longitude to the 4 corners of the image.

Parameters

Alternate Image An optional image that will be shown if the Alternate Image Type is "Visited" or "Selected".
Top Position Top position of each hotspot relative to the map image. This must be measured in pixels in the map image, not device-independent pixels.
Bottom Right Longitude Longitude of the right edge of the image.
Map Image URL to image to be displayed at maximum resolution.
Image Height Height of the hotspot image in pixels.
Bottom Right Latitude Latitude of the bottom edge of the image.
DataSource Data Source which holds POI Locations
Unique ID A string that uniquely identifies the hotspot. This will be used to track whether a hotspot has already been visited. It must be unique throughout the lifetime of the app.
Top Left Latitude Latitude of the top edge of the image.
Out Of Visible Area Message Warning that is displayed when the device location is out of visible area but within the map. By zooming out the user will be able to see their location.
Disable Zoom Controls (Android Only) Checking this box will disable the Android on screen zoom controls(+/-) for the map. The zoom controls are displayed when a user pinches/zooms and double tap.
Map Image Height Map image's height in pixels
Current Position Pin Image Image to show current location if GPS is enabled.
Image Default image that is displayed for the hotspot.
Left Position Left position of each hotspot relative to the map image. This must be measured in pixels in the map image, not device-independent pixels.
Alternate Image Type No->Disregard Image, Selected -> Apply to Current tapped Image only, Visited -> Apply to all the tapped image.
Top Left Longitude Longitude of the left edge of the image.
Enable GPS Determines whether or not to display the device location. The following parameters only apply if this is enabled.
Image Width Width of the hotspot image in pixels.
Out Of Bounds Message Warning that is displayed when the device location is outside of the image.
Map Image Width Map image's width in pixels

Event(s)

Before Draw, Tap

Help us improve! Rate this article:

Yes I found this article helpful

Ask a Question   

support@eachscape.com
http://assets1.desk.com/
false
eachscape
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete