Anonymous user  |  Log in  |  Create Account
Mensaje que reportas
Titulo:  DAE - 3D Model in GoogleEarth
Autor: Mansur
Fecha:  10/20/2011 8:24:38 AM
Texto: Hello all,

i have added allready quite an while ago the 3D Map type to my Map.
Now I want to add 3D- dae - Models to the Map.

Basically My Map Mushup works with an Webservice.
I use an GMap-Event to send some Mapdata to the Service.
The Service sends back some JSCode (Like: returnvalue = "subgurim_GoogleMap.clearOverlays();")
And the Page executes the JSCode via Eval(...).

Does anybody have an Idea how to do that?

Below is an working sample:
google.load('earth','1');
var ge=null;
function init(){
google.earth.createInstance('map3d', initCallback,failureCallback);
}

function initCallback(pluginInstance){
ge=pluginInstance;
ge.getWindow().setVisibility(true);
ge.getNavigationControl().setVisibility(ge.VISIBILITY_AUTO);

var link = ge.createLink('');
        var href = 'http://localhost:88/3D2GridHTTP/swissbuildings3dlv03.kmz'
        link.setHref(href);

        var networkLink = ge.createNetworkLink('');
        networkLink.set(link, true, true); // Sets the link, refreshVisibility, and flyToView.

        ge.getFeatures().appendChild(networkLink);
}


function failureCallback(){
alert('Error happened');
}

<body onload="init()" id="body">
<div id="map3d" style="width: 800px; height:600px;"></div>
</body>

Regards,
Mansur

¿Qué es reportar?
Por reportar entedemos que has leído algo en la Web que no te parece correcto y crees conveniente avisar a los administradores y moderadores para que revisen lo que reportas y decidan si deben editar o en el peor caso borrar.
Ejemplo de reporte pueden ser los siguientes:
- El mensaje debería estar en otra sección de la página, por ejemplo en otro foro.
- Un enlace está roto.
- El mensaje es SPAM y no aporta ningún contenido a la Web. Por ejemplo un mensaje de alguien publicitando su página web sin motivo alguno.
- Es un mensaje con malas intenciones, que no responde a la filosofía de la web, por ejemplo porque insulta a otro mensaje.

Rellenar reporte
Nivel de urgencia:
Motivos del reporte:
Powered by Subgurim.NET