the link above that Maryna so kindly provided
the link above that Maryna so kindly provided
This link works for me: http://goo.gl/1ZGBsm
Hi, I was trying to solve this... https://getsatisfaction.com/apperyio/...
have followed the tutorials and read in the forums but nothing has worked,can u pls help its urgent
Please check our reply there.
hi yurii
has this call changed ? I'm getting the following error
Uncaught TypeError: Cannot read property 'mapElement' of undefined
Here is my initialize() & setdelay() function
var directionsDisplay;
var map;
var markers = [];
var directionsService = new google.maps.DirectionsService();
var bounds = new google.maps.LatLngBounds();
var trafficLayer = new google.maps.TrafficLayer();
function initialize(agm)
{
console.log('Initializing Map...');
Code: Select all
map = Appery(agm).options.mapElement.gmap('get', 'map');
if (!map)
{
console.log('Map delay...') ;
setDelay();
}
else
{
console.log('Map ready...') ;
setDelay();
}
directionsDisplay = new google.maps.DirectionsRenderer();
}
function setDelay() {
setTimeout(initialize, 50);
}
function setDelay() {
setTimeout(initialize, 50);
}
Hello,
You call initialization function too soon.
50 millisec can be only enough for Windows to run the loop twice.
Try to add your initialization code to the code snippet from this tutorial
http://blog.bismallion.com/appery-io-...
You will then get marker placement on time.