Mostrar/Ocultar

 ROADMAP a G_MAPMAKER_NORMAL_MAP 🗺️ Foro Programación de Google Earth y Maps 🗺️ p84 🗺️


Foro de Programación de Google Earth y Maps Foro de Programación de Google Earth y Maps: Programación con las APIs de Google: Google Earth, Google Maps, KML, Aplicaciones Moviles
SubForos: Java - Kmz - Google Maps - Herramientas - Html - Javascript - Excel - Php - Programacion
Página 1 de 1 - Tema con 4 Mensajes y 4061 Lecturas
Último Mensaje:
Foro de Programación de Google Earth y Maps Ver más mensajes sobre ROADMAP a G_MAPMAKER_NORMAL_MAP en el foro
Autor Mensaje

_polifemo
SuperExpert

SuperExpert
Registrado:
27-11-2009
Mensajes: 436

Votos: 0 👍
Enlaces Re: ROADMAP a G_MAPMAKER_NORMAL_MAP
Responder citando
Hi pmuruaga: I have no idea about the Mapmaker API, so I can't help you. What I can say you is:

1.- The G_MAPMAKER_NORMAL_MAP Maptype is inexistent at least at the oficial Google Documentation. You have to be sure your option is adequate.

2.- If you can export your Mapmaker map to kml. You can load them with the kml layer object.

Good luck and apologies for my english.

------

Hola pmuruaga: no tengo ni idea acerca del API de Mapmaker, por lo que no te puedo ayudar. Lo que si puedo decirte es:

1.- El tipo de mapa G_MAPMAKER_NORMAL_MAP no existe al menos en la documentación oficial de Google. Tienes que asegurarte que esta opción es correcta.

2.- Si puedes exportar tu mapa de Mapmaker a kml, puedes cargarlo haciendo uso del objeto kml layer object.
Ir arriba _polifemo Compartir:

Pmuruaga
Usuario Reciente

Usuario Reciente
Registrado:
02-11-2011
Mensajes: 2

Votos: 0 👍
Enlaces Re: ROADMAP a G_MAPMAKER_NORMAL_MAP
Responder citando
Gracias _polifemo por tu ayuda, voy a ver los del kml, quizas pueda ayudarnos a entender un poco si pongo el codigo del mapa de la otra pagina, donde sí se incluye el mapmaker:

Code::
<script type="text/javascript">//<![CDATA[
Var tst44_00exz_0=document.getElementById('googlemap44_00exz_0');
				var tstint44_00exz_0;
				var map44_00exz_0;
				var mySlidemap44_00exz_0;
				var overviewmap44_00exz_0;
				var overmap44_00exz_0;
				var xml244_00exz_0;
				var imageovl44_00exz_0;
				var directions44_00exz_0;
				
Var proxy = 'http://..../plugins/content/plugin_googlemap2_proxy.php?';function CancelEvent44_00exz_0(event) { 
								var e = event; 
								if (typeof e.preventDefault == 'function') e.preventDefault(); 
									if (typeof e.stopPropagation == 'function') e.stopPropagation(); 
		
								if (window.event) { 
									window.event.cancelBubble = true; // for IE 
									window.event.returnValue = false; // for IE 
								} 
							}
						
Function checkMap44_00exz_0()
				{
					if (tst44_00exz_0)
						if (tst44_00exz_0.offsetWidth != tst44_00exz_0.getAttribute("oldValue"))
						{
							tst44_00exz_0.setAttribute("oldValue",tst44_00exz_0.offsetWidth);
	
							if (tst44_00exz_0.getAttribute("refreshMap")==0)
								if (tst44_00exz_0.offsetWidth > 0) {
									clearInterval(tstint44_00exz_0);
					getMap44_00exz_0();
									tst44_00exz_0.setAttribute("refreshMap", 1);
								} 
						}
				}
					function getMap44_00exz_0(){
					if (tst44_00exz_0.offsetWidth > 0) {
						map44_00exz_0 = new GMap2(document.getElementById('googlemap44_00exz_0'));
						map44_00exz_0.getContainer().style.overflow='hidden';
						map44_00exz_0.addMapType(G_PHYSICAL_MAP);map44_00exz_0.addMapType(G_SATELLITE_3D_MAP);
Var point = new GLatLng( -28.634404, -65.129142);
Var centerpoint = point;map44_00exz_0.setCenter(centerpoint, 15);
					map44_00exz_0.addControl(new GLargeMapControl());map44_00exz_0.setMapType(G_MAPMAKER_NORMAL_MAP);
					map44_00exz_0.disableContinuousZoom();
					map44_00exz_0.disableDoubleClickZoom();
					map44_00exz_0.enableScrollWheelZoom();
					var marker44_00exz_0 = new GMarker(point);map44_00exz_0.addOverlay(marker44_00exz_0);
					marker44_00exz_0.openInfoWindowHtml("MyCity");GEvent.addListener(marker44_00exz_0, 'click', function() {
								marker44_00exz_0.openInfoWindowHtml("MyCity");
								});
						GEvent.addDomListener(tst44_00exz_0, 'DOMMouseScroll', CancelEvent44_00exz_0);
							GEvent.addDomListener(tst44_00exz_0, 'mousewheel', CancelEvent44_00exz_0);
						}
			}
			//]]></script>
<script type="text/javascript">//<![CDATA[
					if (GBrowserIsCompatible()) {
      window.onunload=function(){window.onunload;GUnload()};
						tst44_00exz_0.setAttribute("oldValue",0);
						tst44_00exz_0.setAttribute("refreshMap",0);
						if (window.MooTools==null)
						tstint44_00exz_0=setInterval("checkMap44_00exz_0()",500);
					else
						window.addEvent('domready', function() {
   								tstint44_00exz_0=setInterval('checkMap44_00exz_0()',500);
							});
					}
			//]]></script>
Muchas gracias de nuevo.
Ir arriba Pmuruaga Compartir:

_polifemo
SuperExpert

SuperExpert
Registrado:
27-11-2009
Mensajes: 436

Votos: 0 👍
Responder citando
Lo siento pmuruaga, pero si encontrar un bug conociendo el API ya suele ser complicado; imagínate cuando no sabes que son, que hacen ni que peculiaridades tienen las clases y objetos.

¿No hay ninguna comunidad de usuarios de MapMaker donde puedas consultar?.

Si consigues exportar a kml, y decides optar por el camino marcado por el kml layer object, cuenta con nuestra ayuda.
Ir arriba _polifemo Compartir:
Mostrar mensajes de anteriores:   
SubForos: Java - Kmz - Google Maps - Herramientas - Html - Javascript - Excel - Php - Programacion
 Responder al tema   Versión Imprimible
Todas las horas son GMT + 1 Hora
Página 1 de 1 - Tema con 4 Mensajes y 4061 Lecturas - Última modificación: 04/11/2011




RSS: Foro Programación de Google Earth y Maps RSS - Ultimos Mensajes
Cambiar a:  


Puede publicar nuevos temas en este foro
No puede responder a temas en este foro
No puede editar sus mensajes en este foro
No puede borrar sus mensajes en este foro
No puede votar en encuestas en este foro
No Puedes adjuntar archivos en este foro
Tu puedes descargar archivos en este foro



Mostrar/Ocultar Últimas Fotos del Foro