Ιούνιος 2019 - Δημοσιεύσεις

HowTo: round a number up to N decimal digits in Javascript
17 Ιουνίου 19 05:21 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Was just trying to round-off some Google Maps coordinates for display in Javascript up to 3 decimal digits and that was a bit like a blast from the past (the end of the ‘90s to be more accurate)… So here’s my contributed answer at: https://stackoverflow.com/questions/2221167/javascript-formatting-a-rounded-number-to-n-decimals This works for rounding to N digits (if you just […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
HowTo: remove Javascript imports from OpenLayers map examples
11 Ιουνίου 19 09:31 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
OpenLayers is a fine alternative to the map visualization part of Google Maps Platform, however many of its examples sometimes use features from future and server-side Javascript versions, like “imports”. Based on lou’s answer at https://stackoverflow.com/questions/51093964/why-examples-dont-work-a-struggle-with-imports/56549364, here’s a fix I just did to make the Marker animation example work when you just copy-paste the example […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές