Hexagon Geospatial
MENU

Smart M.App

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 33
Registered: ‎02-02-2018
Accepted Solution

Mapping components in M.App Studio

Hello everyone,

 

I am new to M.App Studio and need some guidance. How does one insert mapping components such as the north arrow and map scale into a B.I. Map?

 

Your help is greatly appreciated.

 

Nastassia

Technical Evangelist
Posts: 1,045
Registered: ‎09-11-2015

Re: Mapping components in M.App Studio

Please check this topic for sample code on scale bar.

(although it's bit old, I can't tell if it still works)

https://community.hexagongeospatial.com/t5/Smart-M-App/Add-scale-bar-to-BI-Map/m-p/7525/highlight/tr...

 

North Arrow (as a plain image) cannot be probably added also using the Leaflet layer. But I found only a generic example:

https://stackoverflow.com/questions/22325460/how-can-i-add-a-north-arrow-to-a-leaflet-js-map

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Contributor
Posts: 33
Registered: ‎02-02-2018

Re: Mapping components in M.App Studio

Hi Jan,

 

The code provided works for inserting a scale bar for the BI Map. For the north arrow- I have HTML coded an image rather than using JS.

 

Thanks again for all your help.

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.