public
Last active

OpenLayers build config for mobile

  • Download Gist
29K gzipped
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[first]
 
[last]
 
[include]
OpenLayers/Map.js
OpenLayers/Kinetic.js
OpenLayers/Projection.js
OpenLayers/Layer/SphericalMercator.js
OpenLayers/Layer/XYZ.js
OpenLayers/Control/TouchNavigation.js
OpenLayers/Control/ZoomPanel.js
OpenLayers/Control/Attribution.js
 
[exclude]
97K gzipped
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
[first]
 
[last]
 
[include]
OpenLayers/Map.js
OpenLayers/Kinetic.js
OpenLayers/Projection.js
OpenLayers/Layer/SphericalMercator.js
OpenLayers/Layer/XYZ.js
OpenLayers/Layer/Google.js
OpenLayers/Layer/Google/v3.js
OpenLayers/Layer/WMS.js
OpenLayers/Layer/TMS.js
OpenLayers/Layer/Markers.js
OpenLayers/Control/TouchNavigation.js
OpenLayers/Control/Geolocate.js
OpenLayers/Control/ZoomPanel.js
OpenLayers/Control/Attribution.js
OpenLayers/Control/SelectFeature.js
OpenLayers/Control/DrawFeature.js
OpenLayers/Control/ModifyFeature.js
OpenLayers/Control/Panel.js
OpenLayers/Control/LayerSwitcher.js
OpenLayers/Control/PanZoom.js
OpenLayers/Control/Navigation.js
OpenLayers/Control/ScaleLine.js
OpenLayers/Control/Attribution.js
OpenLayers/Control/Permalink.js
OpenLayers/Control/MousePosition.js
OpenLayers/Control/PinchZoom.js
 
 
OpenLayers/Handler/Point.js
OpenLayers/Handler/Path.js
OpenLayers/Handler/Polygon.js
OpenLayers/Layer/Vector.js
OpenLayers/Renderer/SVG.js
OpenLayers/Renderer/Canvas.js
OpenLayers/Protocol/HTTP.js
 
OpenLayers/Popup.js
OpenLayers/Popup/FramedCloud.js
 
OpenLayers/Marker.js
 
OpenLayers/Util.js
 
 
[exclude]

ups, not 37KB, 97KB gzipped ol build.

Is it possible to add google overlay on openlayers mobile? I have try to build upper example of cfg file, but it's not working!

yes, you can add a google layer to your map with the above build config, in includes support for google layers:

OpenLayers/Layer/Google.js
OpenLayers/Layer/Google/v3.js

did you load the google maps javascript library?

Yes i have add

//script src='http://maps.google.com/maps?file=api&v=2&sensor=false&key=' type="text/javascript"// with right tags

and after this and referencing new Openlayers.js and excluding openlayers.mobile.js nothing working. Any solutions? Version problems? v3?

will try this http://openlayers.org/dev/examples/google-v3.html :-))

I have run google v3 in this demo http://dl.dropbox.com/u/12048485/SRKVZMobile%20-%20Copy.htm but when i use openlayers.mobile.js then zero points :-(((((

I have build .js from cfg file, and when I replace new openlayers.js and exclud openlayers.mobile.js nothing working (without adding google layers!!). http://dl.dropbox.com/u/12048485/SRKVZMobile.htm Can you send your custom .js file with one I replace openlayer.mobile.js? Tnx

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.