Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
New Contributor
Posts: 2
Registered: ‎03-15-2017

Insert annotations on the map

[ Edited ]

Hello,

Is there a way to insert annotations on the map programatically?

We have the $GP.map.draw to insert geometris, but no text.

 

Thanks!

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

Re: Insert annotations on the map

[ Edited ]

Hello Fabio,

 

Yes, it looks like there's no particular API function for that. However you can use some workarounds, for instance check the Example 04.01 Drawing Operations - How to draw a point with the graphic style.

 

Other option is to use pins and define different CSS class for them. Check Example 05. Pin Layer - Fancy tooltips.

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

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