/
Navmii logo watermark

Navmii logo watermark

When using the Pathway Pro SDK, it is required that the Navmii logo would always be visible on the map view. By default, the Navmii logo is located at the bottom left corner of the map view. You can customise its location to meet your app design needs by changing watermark anchor on the map view (watermarkAnchorPoint property in the NMMapView) and watermark offset (watermarkPositionOffset property in the NMMapView). There also another property in the NMMapView allowing to retrieve the size of the watermark – watermarkSize.

The default value of the watermarkAnchorPoint property is (0.0, 1.0).

Anchor point on the watermark itself is its center point (width / 2, height / 2), around which it will be placed in the map view. So the default value of the watermarkPositionOffset property is (-watermarkSize.width / 2, -watermarkSize.height / 2).

It is recommended to change the default placement only when it is required due to overlapping UI elements.

Example of placing the watermark in the bottom right corner of the map view additionally slightly moved to the left and to the top:

sdk.activeMapView.watermarkAnchorPoint = CGPointMake(1, 1); CGSize watermarkSize = sdk.activeMapView.watermarkSize; sdk.activeMapView.watermarkPositionOffset = CGPointMake(-watermarkSize.width / 2 - 20, -watermarkSize.height / 2 - 5);

Related content

Watermark
Watermark
More like this
Geo Items (v2.1.x – 2.2.x)
Geo Items (v2.1.x – 2.2.x)
More like this
Geo Items
Geo Items
More like this
Customising The Map Look
Customising The Map Look
More like this
Navmii SDK v.2.1.x – 2.2.x for iOS
Navmii SDK v.2.1.x – 2.2.x for iOS
More like this
Creating a custom colour scheme
Creating a custom colour scheme
More like this