Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Although the database contains full coordinates to 6 digits right of the decimal, but using tokens such as [term:field-coordinates:lat] or [term:field-coordinates:lon] outputs to only 2 digits right of the decimal.
Works correctly using Views and OpenLayers, but specifically having an issues with tokens.
Comments
Comment #1
richardbporter CreditAttribution: richardbporter commentedDid you ever find a workaround for this issue? I've got the same problem.
Comment #2
Schnitzer CreditAttribution: Schnitzer commented+1
Comment #3
Adam S CreditAttribution: Adam S commented+1 I just ran into this problem. It truncates to the hundredths.
EDIT: Seems that inside entity_token.tokens.inc all decimals are formatted to the hundredths place. I'm just going to circumvent this and write a bunch of custom tokens because there are other problems I'm faced with else where. If I get time, I'll do a proper bug request in Entity API issue queue.
Comment #4
donutdan4114 CreditAttribution: donutdan4114 at Bonify commentedAdded parent issue.