[Aust-NZ] VicMap API JavaScript - who's the developer?

Noli Sicad nsicad at gmail.com
Tue Sep 27 16:11:52 PDT 2011


Hi Justin,

I have not heard from you.

Here's (code below) again, VicMap WMS code that is not working.

#########################
<script src="OpenLayers.js"></script>
   <script type="text/javascript">
       var map, layer, a, b;
       a=new
OpenLayers.Bounds(1786000.0,1997264.499195665,3953471.00160867,3081000.0);
       b="Vicmap API © 2011 State Government of Victoria";

       function init(){
           map = new OpenLayers.Map( 'map' );

           layer = new
OpenLayers.Layer.WMS("VicMap","http://116.240.195.134/vicmapapi/map/wms",
           {layers:'VicMap',format:"image/png",firstTile:true},
           {tileSize:new OpenLayers.Size(512,512),tileOrigin:new
OpenLayers.LonLat(-34932800,57119200),isBaseLayer:true,
           buffer:0,maxExtent:a,attribution:b});

           map.addLayer(layer);
           map.zoomToMaxExtent();
       }
   </script>

Anybody in the list knowledgeable how to fix this code to make it working?

Thanks.

Noli


On 9/27/11, Noli Sicad <nsicad at gmail.com> wrote:
> Hi Justin,
>
> Thanks for replying.
>
> I sent you an email on the details of my problem using VicMap WMS
> (offline the Aust-NZ list).
>
> Thanks.
>
> Noli
>
>
>
> On 9/27/11, Justin Madex
>> Hi Noli,
>>
>> I work for Dialog IT and we developed VicMap API
>> Was there an issue you were experiencing?
>>
>> - Justin



More information about the Oceania mailing list