Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Grantee(name1, address1, yearsReceived1, grantsReceived1, grantAmts1, pocLed1, latlng1){
- this.name = name1;
- this.address = address1;
- this.yearsReceived = yearsReceived1;
- this.grantsReceived = grantsReceived1;
- this.grantAmts = grantAmts1;
- this.pocLed = pocLed1;
- this.latlng = latlng1;
- var icon = {
- url: 'http://www.arcencieldeco.com.tn/wp-content/uploads/2015/10/icon.png',
- scaledSize: new google.maps.Size(73, 50),
- origin: new google.maps.Point(0,0),
- anchor: new google.maps.Point(36.5,50)
- };
- var iconShape = {
- coords: [20,0,45,0,45,40,0,40,0,0],
- type: 'poly'
- };
- this.marker = new google.maps.Marker({
- position: granteeArray[i].latlng,
- map: map,
- icon: icon,
- shape: iconShape
- });
- for (i = 0; i<granteeArray.length; i++){
- markerArray.push(this.marker)
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement