Guest User

Untitled

a guest
Dec 14th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. this.map = new google.maps.Map($pSelector[0], {
  2. center: oCenter,
  3. zoom: this.Constants.DEFAULT_ZOOM,
  4. maxZoom: this.Constants.MAX_ZOOM,
  5. minZoom: this.Constants.MIN_ZOOM,
  6. mapTypeId: this.Constants.MAP_TYPE.Roadmap,
  7. mapTypeControl: true,
  8. mapTypeControlOptions: {
  9. style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
  10. position: google.maps.ControlPosition.TOP_CENTER
  11. },
  12. zoomControl: true,
  13. zoomControlOptions: {
  14. position: google.maps.ControlPosition.TOP_RIGHT
  15. },
  16. scaleControl: true,
  17. streetViewControl: true,
  18. streetViewControlOptions: {
  19. position: google.maps.ControlPosition.BOTTOM_TOP
  20. }
  21. });
  22.  
  23.  
  24.  
  25.  
  26. this.LayerGroups.Route = new google.maps.Polyline({
  27. map: this.map,
  28. path: this.Layers.Route,
  29. geodesic: true,
  30. draggable: false,
  31. strokeColor: this.Constants.ROUTE_COLOR,
  32. strokeOpacity: this.Constants.LINE_OPACITY,
  33. strokeWeight: this.Constants.LINE_WEIGHT
  34. });
Add Comment
Please, Sign In to add comment