Page 1 of 1
offline GeoLocation with user-entered coordinate
Posted: Tue Jan 13, 2015 7:21 pm
by hamed
hi
i want to build an app like this one:
http://devcenter.appery.io/tutorials/...
but locate with user-entered coordinate (latitude & longitude) ? how can i do this?
is it possible to have google map in offline mode and use it?
offline GeoLocation with user-entered coordinate
Posted: Wed Jan 14, 2015 5:08 am
by Yurii Orishchuk
Hi Hamed,
You can set map component center with following JS code:
pre
Code: Select all
//Note: you should replace "googlemap_1" with your google maps componen name.
var map = Apperyio("googlemap_1").options.mapElement.gmap('get', 'map');
map.setCenter(new google.maps.LatLng(30, 40));
map.setZoom(5);
/pre
Regards.
offline GeoLocation with user-entered coordinate
Posted: Wed Jan 14, 2015 7:35 am
by hamed
thanks Yurii ...what about another question?No.2?
offline GeoLocation with user-entered coordinate
Posted: Wed Jan 14, 2015 8:31 am
by Evgene Karachevtsev
offline GeoLocation with user-entered coordinate
Posted: Wed Jan 14, 2015 6:56 pm
by hamed