replace - Instagram API: $value->location->latitude outputs comma separated value, whereas Google Maps accepts dot -


$value->location->latitude , $value->location->longitude output respectively 41,90693866 , 12,414128943. have link points to

href="http://maps.google.com/maps?q='.htmlentities($value->location->latitude).',+'.htmlentities($value->location->longitude).'" 

problem google maps accepts values 41.90693866 (notice dot instead of comma), doesn't work 41,90693866, 12,414128943 input (it 41.90693866, 12.414128943). how can output latitude/longitude comma instead of dot?

the json data see instagram api uses periods , not commas lat/lng data. sure in code not transforming formatting? check code this.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -