Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.map = new google.maps.Map($pSelector[0], {
- center: oCenter,
- zoom: this.Constants.DEFAULT_ZOOM,
- maxZoom: this.Constants.MAX_ZOOM,
- minZoom: this.Constants.MIN_ZOOM,
- mapTypeId: this.Constants.MAP_TYPE.Roadmap,
- mapTypeControl: true,
- mapTypeControlOptions: {
- style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
- position: google.maps.ControlPosition.TOP_CENTER
- },
- zoomControl: true,
- zoomControlOptions: {
- position: google.maps.ControlPosition.TOP_RIGHT
- },
- scaleControl: true,
- streetViewControl: true,
- streetViewControlOptions: {
- position: google.maps.ControlPosition.BOTTOM_TOP
- }
- });
- this.LayerGroups.Route = new google.maps.Polyline({
- map: this.map,
- path: this.Layers.Route,
- geodesic: true,
- draggable: false,
- strokeColor: this.Constants.ROUTE_COLOR,
- strokeOpacity: this.Constants.LINE_OPACITY,
- strokeWeight: this.Constants.LINE_WEIGHT
- });
Add Comment
Please, Sign In to add comment