Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CustomerMarker(map) {
- this.Map = map;
- this.setMap(map);
- }
- GoogleMap = new google.maps.Map(document.getElementById("map"), {
- zoom: 16,
- canZoom: false,
- center: { lat: lat, lng: lng },
- mapTypeControl: false,
- streetViewControl: false,
- scaleControl: false,
- clickableIcons: false
- });
- CustomMarker.prototype = new google.maps.OverlayView();
- CustomMarker.prototype.onAdd = function () {
- //Some code
- };
- CustomMarker.prototype.draw = function () {
- //Some code
- };
- CustomMarker = new CustomMarker(GoogleMap);
- CustomMarker.setMap(null)
- Error: this.remove is not a function
- pz@https://maps.googleapis.com/maps-api-v3/api/js/30/1/overlay.js:1:251
- rk@https://maps.googleapis.com/maps-api-v3/api/js/30/1/overlay.js:2:476
- _.pg.prototype.map_changed/<@https://maps.googleapis.com/maps/api
- /js?key=AIzaSyBCiIPv6fgrRVn3veTJeP6ihfhrw8AXwbY:125:662
- _.G@https://maps.googleapis.com/maps/api/js?key=AIzaSyBCiIPv6fgrRVn3veTJeP6ihfhrw8AXwbY:51:447
- _.pg.prototype.map_changed@https://maps.googleapis.com/maps/api/js?key=AIzaSyBCiIPv6fgrRVn3veTJeP6ihfhrw8AXwbY:125:636
- Db@https://maps.googleapis.com/maps/api/js?key=AIzaSyBCiIPv6fgrRVn3veTJeP6ihfhrw8AXwbY:37:103
- _.k.set@https://maps.googleapis.com/maps/api/js?key=AIzaSyBCiIPv6fgrRVn3veTJeP6ihfhrw8AXwbY:101:728
- _.jd/<@https://maps.googleapis.com/maps/api/js?key=AIzaSyBCiIPv6fgrRVn3veTJeP6ihfhrw8AXwbY:55:317
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement