Madhu
Madhu

Reputation: 33

How to add a scale or a ruler in Palantir Foundry Map?

I would like to know how to add a scale to the Foundry Slate Map.

Is there an attribute to enable as in Google Maps? scaleControl: true

Or how to add a ruler as in Google Maps?

There are several attributes that can be used to calculate the distance between two points in Maps widget.

Using these attributes, I tried to add a ruler with a fixed length but with a distance value updating accordingly. But it is not successful.

Thanks, Madhubhani

Upvotes: 0

Views: 125

Answers (1)

ZettaP
ZettaP

Reputation: 1369

There is a dedicated map application which has a scale. Maybe that would help you in this particular instance ?

Upvotes: 0

Related Questions