Я разрабатываю приложение Phonegap с Ionic Framework и AngularJS, мне нужно поместить две карты на разных страницах. я получаю это пустое окноКарта не появилась в ионной форме с помощью phonegap плагина Google Maps
В app.js
.run(function() {
ionic.Platform.ready(function() {
var div = document.getElementById("map_canvas1");
alert('deviceready');
alert(window.plugin);
// map = window.plugin.google.maps.Map.getMap(div);
if (window.plugin) {
alert(1);
map = window.plugin.google.maps.Map.getMap(div);
}
});
})
Моя страница HTML
<div class="modal">
<ion-header-bar class="bar-positive">
<button menu-toggle="right" class="button button-icon icon ion-navicon"></button>
<h1 class="title">Géolocalisation</h1>
</ion-header-bar>
<ion-content>
<div style="width:90%;margin-left:10%;height:500px" id="map_canvas1"></div>
</ion-content>
</div>
Я получаю эту ошибку в LogCat
11-11 17:33:38.823: E/GooglePlayServicesUtil(10062): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
11-11 17:33:40.367: E/GooglePlayServicesUtil(10062): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
11-11 17:33:40.732: E/NativeCrypto(10062): ssl=0x53d54c10 cert_verify_callback x509_store_ctx=0x57b8dae8 arg=0x0
11-11 17:33:40.732: E/NativeCrypto(10062): ssl=0x53d54c10 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_ECDSA
«Google Play услуги ресурсы не были найдены Проверьте конфигурацию проекта, чтобы обеспечить. что ресурсы включены ». сообщения об ошибках всегда выводятся, даже если карта работает правильно. Просто игнорируйте их. – wf9a5m75