laura Gómez
Posts: 0
Joined: Mon Oct 14, 2013 9:51 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

I don't understand very well that I have to do with the service. You could explain it to me?

laura Gómez
Posts: 0
Joined: Mon Oct 14, 2013 9:51 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

I want to insert this javascript from googledeveloper in my app.

https://developers.google.com/maps/do...

function initialize() {
var chicago = new google.maps.LatLng(41.875696,-87.624207);
var mapOptions = {
zoom: 11,
center: chicago,
mapTypeId: google.maps.MapTypeId.ROADMAP
}

var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);

var ctaLayer = new google.maps.KmlLayer({
url: 'http://gmaps-samples.googlecode.com/s...'
});
ctaLayer.setMap(map);
}

google.maps.event.addDomListener(window, 'load', initialize);

Can I do run this code in appery.io?

Sorry, my english is very bad!!!!

And I
I will not be programmed in javascript.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

Hi Laura,

This code works in Appery.io. You should replace:
codevar map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);/code
with:
codevar map = Appery("googlemap_1").gmap;/code
where googlemap_1 is your Google Maps component name.

laura Gómez
Posts: 0
Joined: Mon Oct 14, 2013 9:51 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

ohhhhhh!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

It's perfect!!!!!

laura Gómez
Posts: 0
Joined: Mon Oct 14, 2013 9:51 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

Another question.

When I publish my app in appery.io, then I can go to updating it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

Hello! Could you clarify please - do you mean you want to update app after it's published on .app.appery.io domain http://docs.appery.io/documentation/p...?

laura Gómez
Posts: 0
Joined: Mon Oct 14, 2013 9:51 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

After I publish my application, how can I update it with new buttons, maps, etc?
Do you understand me?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Insertar google maps con una ruta personalizada (realizada en un archivo .kml)

Please clarify where do you want to publish app? On Google Play/App Store?

Return to “Issues”