Fix Google Earth “ERR_CREATE_PLUGIN” Closed Network

277 Views Asked by At

I have a problem very similar to this guy but the only problem is that I'm on a closed network and and I'm using the enterprise library earth_plugin_loader.js

<script type="[MyServer]/earth_api/earth_plugin_loader.js">
<script type="text/javascript">
//google.load("earth", "1"); < Don't have that or the google loader API

var ge = null;

function initCallback(object) {
    ge = object;
    ge.getWindow().setVisibility(true);
}

function failureCallback(object) {
}

$(document).ready(function() {
    google.earth.createInstance("map3d", initCallback, failureCallback);    
});

To load the api I simply add the script to my header, is there anyway for me to know when the api is done loading?

0

There are 0 best solutions below