hamed
Posts: 0
Joined: Tue Jan 13, 2015 7:21 pm

offline GeoLocation with user-entered coordinate

hi

  1. 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?

  2. is it possible to have google map in offline mode and use it?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

offline GeoLocation with user-entered coordinate

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.

hamed
Posts: 0
Joined: Tue Jan 13, 2015 7:21 pm

offline GeoLocation with user-entered coordinate

thanks Yurii ...what about another question?No.2?

hamed
Posts: 0
Joined: Tue Jan 13, 2015 7:21 pm

offline GeoLocation with user-entered coordinate

hi Evgene ...thank u

Return to “Issues”