Create Image Map Overlays
Image map overlays will be visualized as base maps in the map activity of the client. These are images (.png) that will be vizualized on the right location, with the right scale and also with the right rotation. Therefore georeferencing of the image is required.
Contents
Basics
To configure the image map overlay two steps are required:
1) Georeferencing of the image
- This is necessary to generate the required parameters.
- Prefered Software: | Google Earth
- How to add a map overlay to Google Earth is available there: | Add a Map Overlay (Google How To German)
2) Configuration of the Image Map Overlay in UBIK Studio
- The MapOverlys are based on a File Documents, so basicly should contain the properties for the classification Document, Filedocument and MapOverlays
Create a map overlay document
The following steps are required to create a Map Overlay Document:
- To ease up the live of the customizer we suggest to derive a new object from the Filedocument. The properties are visible in the Class Details.
- Add the Classification MapOverlays to the new MetaClass by using the Relation Editor
- Define the required Metaproperties for the MapOverlays
- HowTo: Create a new MetaProperty
- Add the required MetaProperty to the Meta Class.
- Save the object with Ctrl+S
- Build dnd Release the Customizing F5
- Check the Classification in the Object Explorer
Publish the map overlay
To publish the Image Map Overlay to the UBIK.Android Client it is required to configure the ACM.
- Create a METACLASSSCOPE for the Image Map Overlay Meta Class
- HowTo: Create a Metaclass Scope
- HowTo: Create a Metaclass Scope
- Assign the Properties to the Metaclass Scope
- Required Properties for the ACM:
- WIDTH_METERS
- Z_LEVEL
- ROTATION_CLOCKWISE_DEGREES
- LOCATION_CENTER
- FILETYPE
- Required Properties for the ACM:
- Add the Metaclassscope to the Context
- Save the object with Ctrl+S
- Release the MetaDefinitions
- Check the Classification in the ACM Manager
ADD AM IMAGE MAP OVERLAY
To add a Map Overlay it is required to take the parameters from the georeferenced Map Overlay Image
- Add a new Object in the Bulk Editor
- Choose the Filetype (PNG)
- Add NAME and DESCRIPTION
- Assign the image in the Bulk editor (FULLPATH)
- Set Is Local? to TRUE
- Save the object with Ctrl+S