Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-30 Thread christopher.schmidt
On Jun 30, 2010, at 1:58 AM, ext Kalyan Kamepalli wrote: Yahoo !! I made some progress, I actually didn’t know that I have to create a layer for the map object. I now created one later and added it to map object. Excellent. It worked. I got my map. But, I am not happy with the

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-30 Thread Kalyan Kamepalli
Hi Christopher, I did replace my map creation with your bit of code and that didn’t help me. My browser turn up with an error saying expected ‘}’. I just couldn’t find where did I miss that one. Here’s my code script type=text/javascript //var map = new

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-30 Thread Slawomir Messner
You forgot the comma in the json object. var map = new OpenLayers.Map('map', { maxExtent: new OpenLayers.Bounds(545130525,258147752,546437807,259455034), maxResolution: 5000 } ); Am 30.06.2010 08:35, schrieb Kalyan Kamepalli: Hi Christopher, I did replace my map creation with your bit

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-30 Thread Roald de Wit
Hi, On 30/06/10 16:35, Kalyan Kamepalli wrote: var map = new OpenLayers.Map('map', { maxExtent: new OpenLayers.Bounds(545130525,258147752,546437807,259455034) maxResolution: 5000 } ); Try adding a comma at the end of your maxExtent line, like below: var map = new

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-30 Thread Kalyan Kamepalli
Thanks a heaps to both Christopher Slawomir, I got the map and Christopher’s piece of code does the magic. It's now working the way I want it to be. On Wed, Jun 30, 2010 at 4:38 PM, Slawomir Messner slawomir.mess...@staff.uni-marburg.de wrote: You forgot the comma in the json object.

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-29 Thread Zac Spitzer
have a look thru the examples http://www.openlayers.org/dev/examples/ that should be a good starting point, use view source to see how things are done z On 29 June 2010 13:44, Kalyan Kamepalli kalyan.kamepa...@gmail.com wrote: Hello Everyone, I am new to Java Script and thus Open Layers.

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-29 Thread Bart van den Eijnden (OSGIS)
Hi, the closest code is probably the ArcIMS layer, since this also uses XML for the communication. It probably means writing a Format, just like Format.ArcXML for the ArcIMS layer, and writing a layer type. Unless you just want to use WMS, which comes out of the box. Best regards, Bart

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-29 Thread Kalyan Kamepalli
Hi group, I do have a WMS service with my product, I am actually trying to use Smallworld Geospatial Server with WMS service. I just found one example using WMS service and trying to edit it to work with my service call. I changed the script section as follows script type=text/javascript

Re: [OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-29 Thread Kalyan Kamepalli
Yahoo !! I made some progress, I actually didn’t know that I have to create a layer for the map object. I now created one later and added it to map object. Excellent. It worked. I got my map. But, I am not happy with the quality/resolution of the map. I then set the maxResolution property of

[OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

2010-06-28 Thread Kalyan Kamepalli
Hello Everyone, I am new to Java Script and thus Open Layers. I have an application server that provides a map service and many other services like select, zoom in zoom out.I wanted to map them on to Open layers and finally embed open layers on to a website. The map service is an XML based