Change The OpenLayers 3 script into openlayers 2.13

المشرف العام

Administrator
طاقم الإدارة
Hi all I want to change the code from pgrouting latest workshop which is used the Openlayers 3 beta to Openlayers 2.13The code is in here http://workshop.pgrouting.org/chapters/ol3_client.html

I tried changed it, but stil got some errors like this one: "startpoint.getPosition is not a function"

Is there anyone could help me? Because there is some features in openlayers 2.13 which not (yet) supported in the Ol3js. My idea is simple, I just want to have a Layerswitcher button, and adds radio button for start and final location for the route, and the compute route button, so that the web will look more neat.

best regards



أكثر...
 
أعلى