[OSM-dev] Search is not working on own map

Peter Körner osm-lists at mazdermind.de
Thu Aug 19 11:31:56 BST 2010


Am 19.08.2010 11:49, schrieb Parveen Arora:
>> http://202.164.53.116/~parveen/OpenLayers.js
You don't have to change this file

>> http://202.164.53.116/~parveen/OpenStreetMap.js
>>
>> i have tried to to change the url here, and give our server's url
>> but the map stops working immediately after changing any url
var url = [
             "http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x}",
             "http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x}",
             "http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x}"
           ];

Don't specify th url more than once. You URL is missing the ${y} 
placeholder. Please take another look at [1] to see a simple example.

Peter

[1] <http://toolserver.org/~mazder/startup/openlayers/>



More information about the dev mailing list