我有一个 URL,用于查看使用 MapServer 生成的地图。
http://localhost/cgi-bin/mapserv?map=/home/mwh/osm-demo/basemaps/osm-google.map&mode=browse&template=openlayers&layers=all
如何将其转换为更一般的样式,例如http://foo.com?
我只需要在 maps.google.com 或 www.openstreetmap.com 等特定 URL 中显示我的地图,仅此而已。例如,我想在原始 URL 中隐藏我的目录,例如 /home/mwh/osm-demo/basemaps/。