Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Commit b4cc119

Browse files
committed
feat: add some more markers
Added some more marker types to the interface
1 parent ab3fc9d commit b4cc119

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

js/src/markers.js

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,13 @@ var MarkerTypes = {
468468
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
469469
scaledSize: new google.maps.Size( 1024/2,1024/2 )
470470
},
471+
cab: {
472+
icon: "blips_texturesheet.png",
473+
size: new google.maps.Size( customImageWidth, customImageHeight ),
474+
origin: new google.maps.Point( customImageWidth * 13, customImageHeight * 5 ),
475+
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
476+
scaledSize: new google.maps.Size( 1024/2,1024/2 )
477+
},
471478
therapy: {
472479
icon: "blips_texturesheet.png",
473480
size: new google.maps.Size( customImageWidth, customImageHeight ),
@@ -491,13 +498,34 @@ var MarkerTypes = {
491498
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
492499
scaledSize: new google.maps.Size( 1024/2,1024/2 )
493500
},
494-
cab: {
501+
personalBike: {
502+
icon: "blips_texturesheet.png",
503+
size: new google.maps.Size( customImageWidth, customImageHeight ),
504+
origin: new google.maps.Point( customImageWidth *6, customImageHeight * 6 ),
505+
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
506+
scaledSize: new google.maps.Size( 1024/2,1024/2 )
507+
},
508+
personalCar: {
495509
icon: "blips_texturesheet.png",
496510
size: new google.maps.Size( customImageWidth, customImageHeight ),
497511
origin: new google.maps.Point( customImageWidth *7, customImageHeight * 6 ),
498512
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
499513
scaledSize: new google.maps.Size( 1024/2,1024/2 )
500514
},
515+
armsTraffickingAir:{
516+
icon: "blips_texturesheet.png",
517+
size: new google.maps.Size( customImageWidth, customImageHeight ),
518+
origin: new google.maps.Point( customImageWidth *11, customImageHeight * 6 ),
519+
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
520+
scaledSize: new google.maps.Size( 1024/2,1024/2 )
521+
},
522+
fairground: {
523+
icon: "blips_texturesheet.png",
524+
size: new google.maps.Size( customImageWidth, customImageHeight ),
525+
origin: new google.maps.Point( customImageWidth * 15, customImageHeight * 6 ),
526+
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
527+
scaledSize: new google.maps.Size( 1024/2,1024/2 )
528+
},
501529

502530
// ROW 8
503531
propertyManagement: {
@@ -557,6 +585,13 @@ var MarkerTypes = {
557585
scaledSize: new google.maps.Size( 1024/2,1024/2 )
558586
},
559587
// Other basic icons
588+
dead: {
589+
icon: "blips_texturesheet.png",
590+
size: new google.maps.Size( customImageWidth, customImageHeight ),
591+
origin: new google.maps.Point( customImageWidth * 4, customImageHeight * 8 ),
592+
anchor: new google.maps.Point( customImageWidth/2, customImageHeight ),
593+
scaledSize: new google.maps.Size( 1024/2,1024/2 )
594+
},
560595
package: {
561596
icon: "blips_texturesheet.png",
562597
size: new google.maps.Size( customImageWidth, customImageHeight ),

0 commit comments

Comments
 (0)