cutting-room-floor / tilestream

A high-performance map tile server powered by MBTiles files
BSD 3-Clause "New" or "Revised" License
745 stars 106 forks source link

start tilestream on windows 8.1? #141

Open mk82js opened 9 years ago

mk82js commented 9 years ago

Hi every one, I have just installed tilestream on windows 8.1, but i got a problem when i start tilestream. this is image of this error: image can tilestream be run on windows or not? if yes, please tell me how to start tilestream on windows. Thanks in advance!

wilhelmberg commented 9 years ago

@mk82js try node index.js, not just index.js

mk82js commented 9 years ago

Thanks so much @BergWerkGIS , and one more problem i need your help: how can i use openlayer to load map from tilestream server? I tried: var openSeaMapLayer = new ol.layer.Tile({ source: new ol.source.XYZ({ url: 'http://localhost:8990/v2/OSMBright/{z}/{x}/{y}.png' }) }); but i shown nothing. please help me. Thank a lot!

wilhelmberg commented 9 years ago

The default port tilestream listens to is 8888, I suppose you changed it to 8990 on purpose?

What happens when you open http://localhost:8888 or http://localhost:8990 in your browser? Do you see the tilestream UI? Can you see OSMBright there? What happens when you click on OSMBright? Can you see the map?