Answer the question
In order to leave comments, you need to log in
How to redraw map when input changes?
Good evening.
There is a code that draws a map:
var mapLat = 0;
var mapLon = 0;
var mapObjects = $.parseJSON('[{"latitude":"<?php echo $new == 1 && $sync == 1 ? $plada['latitude'] : $place2->latitude; ?>","longitude":"<?php echo $new == 1 && $sync == 1 ? $plada['longitude'] : $place2->longitude; ?>"}]');
var placeId = '<?php echo $place2->id; ?>';
adminPage = true;
wasMapExpanded = false;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question