MeasureTool-GoogleMaps-V3
MeasureTool-GoogleMaps-V3 copied to clipboard
feature: add i18n support on distance and length text with "pt" language
Add i18n support on distance and length text, with pt language
Is there a way to remove the texts from this message altogether?
Like instead of
Total distance: ${lenght}; Total area: ${area}.
Just use
${lenght}; ${area}
It gets extra space on the map and it becomes redundant after the first time you read it
Is there a way to remove the texts from this message altogether? Like instead of
Total distance: ${lenght}; Total area: ${area}.
Just use${lenght}; ${area}
It gets extra space on the map and it becomes redundant after the first time you read it
Can be added a flag to use "short description" of area and length.
@zhenyanghua
Can you check this?
@zhenyanghua
Hello Zhenyang, i have added fallback to english if specified property was not found on current language, sounds good?
Hi in your i18n.js there is the list of languages: when I choose 'it', it works, but when I opt for the 'uk' language, it doesn't work (the default 'en' language). When type in console measureTool._options.language - return 'uk' value .... help please P.S. Thanks for your work!
@zhenyanghua
Hello! Could you validate the changes you made to make this update available?