Is there a way to put a directional arrow at the destination point on a PolyLine series in the IgMap?
Hello Jason,
I have made for you a sample which is showing how you can control the market template.
You can find in the attachment below.
You can refer to the api documentation about the marketTemplate and make your own customizations.
If you have further questions, please contact us again.
igMap-arrow-market-template.zip
How can I convert latitude / longitude coordinates to actual map coordinates?
In the draw Arrow example I have the originX, originY mapped to a latitude and longitude coordinate. The problem is that those points get drawn on the map as plain x/y points starting from the top left of the map. Instead of working as geographic coordinates.
function drawArrow(renderInfo,origen,arrowColor,originX, originY){ var ctx = renderInfo.context; var headlen = 5; var tox = renderInfo.xPosition; var toy = renderInfo.yPosition; var fromx = originX; var fromy = originY;