Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript:var overlayGrey;L.GridLayer.OverlayGrey=L.GridLayer.extend({createTile:function(e){var t=document.createElement("div");return t.style.background="#000000",t}});var isFirstTime,isOverlay=!1;function toggleOverlay(){isOverlay?(overlayGrey&&map.removeLayer(overlayGrey),isOverlay=!1,$("#map").removeClass("grey")):(isOverlay=!0,(overlayGrey=new L.GridLayer.OverlayGrey).setOpacity(.6),map.addLayer(overlayGrey),$("#map").addClass("grey"))}void 0===isFirstTime&&(isFirstTime=1);var filterMonIds=[],filterForms=[33,34,35,36],isFilterForm=!1,timeLessFilter=Number.MAX_VALUE,timeMoreFilter=0,isNonBoosted=!1,regex11am=/03\:00\:00 GMT$/g,regex2pm=/06\:00\:00 GMT$/g,regex5pm=/09\:00\:00 GMT$/g,isFilterMRT=!1,trainStations={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Point",coordinates:[103.85561173062341,1.2932599009494303,0]},properties:{STN_NAME:"ESPLANADE MRT STATION",STN_NO:"CC3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84583316073947,1.299044203384764,0]},properties:{STN_NAME:"DHOBY GHAUT MRT STATION",STN_NO:"NS24"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84532983561435,1.299694024466602,0]},properties:{STN_NAME:"DHOBY GHAUT MRT STATION",STN_NO:"NE6/CC1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88866829966116,1.3083751546214843,0]},properties:{STN_NAME:"DAKOTA MRT STATION",STN_NO:"CC8"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86283780108856,1.3073717303890129,0]},properties:{STN_NAME:"LAVENDER MRT STATION",STN_NO:"EW11"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89042878872351,1.386747512734503,0]},properties:{STN_NAME:"RENJONG LRT STATION",STN_NO:"SW8"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.77864915459597,1.3113946904069196,0]},properties:{STN_NAME:"DOVER MRT STATION",STN_NO:"EW22"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89234753391662,1.3712811751529235,0]},properties:{STN_NAME:"HOUGANG MRT STATION",STN_NO:"NE14"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.75803362285004,1.3786249497953047,0]},properties:{STN_NAME:"PHOENIX LRT STATION",STN_NO:"BP5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88290604375955,1.3164324723857468,0]},properties:{STN_NAME:"ALJUNIED MRT STATION",STN_NO:"EW9"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90591743982401,1.3993617069380266,0]},properties:{STN_NAME:"COVE LRT STATION",STN_NO:"PE1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.94925763848818,1.3729518745158256,0]},properties:{STN_NAME:"PASIR RIS MRT STATION",STN_NO:"EW1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.80097700914163,1.4405870900082864,0]},properties:{STN_NAME:"ADMIRALTY MRT STATION",STN_NO:"NS10"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.91294752745763,1.321038068038333,0]},properties:{STN_NAME:"KEMBANGAN MRT STATION",STN_NO:"EW6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90653551174194,1.4169108528743322,0]},properties:{STN_NAME:"PUNGGOL POINT LRT STATION",STN_NO:"PW3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.77419400299034,1.4325651685513614,0]},properties:{STN_NAME:"MARSILING MRT STATION",STN_NO:"NS8"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90055527796933,1.3944787834858985,0]},properties:{STN_NAME:"COMPASSVALE LRT STATION",STN_NO:"SE1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83303805986155,1.4175768090823948,0]},properties:{STN_NAME:"KHATIB MRT STATION",STN_NO:"NS14"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88015787537199,1.3920928726172905,0]},properties:{STN_NAME:"LAYAR LRT STATION",STN_NO:"SW6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.93842947027022,1.3455175068462661,0]},properties:{STN_NAME:"TAMPINES WEST MRT STATION",STN_NO:"DT31"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.94515900808285,1.3532891912813054,0]},properties:{STN_NAME:"TAMPINES MRT STATION",STN_NO:"EW2/DT32"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.95480497267494,1.3562130027776897,0]},properties:{STN_NAME:"TAMPINES EAST MRT STATION",STN_NO:"DT33"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88816447597824,1.3354531040617397,0]},properties:{STN_NAME:"TAI SENG MRT STATION",STN_NO:"CC11"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8985102871743,1.4083532970180046,0]},properties:{STN_NAME:"SUMANG LRT STATION",STN_NO:"PW6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8260230265597,1.3200659549231024,0]},properties:{STN_NAME:"STEVENS MRT STATION",STN_NO:"DT10"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.87534796324131,1.3028541001828093,0]},properties:{STN_NAME:"STADIUM MRT STATION",STN_NO:"CC6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.7973204601208,1.330784858269842,0]},properties:{STN_NAME:"SIXTH AVENUE MRT STATION",STN_NO:"DT7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.74529180004276,1.3802982863129025,0]},properties:{STN_NAME:"SOUTH VIEW LRT STATION",STN_NO:"BP2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89723440867354,1.405209646785964,0]},properties:{STN_NAME:"SOO TECK LRT STATION",STN_NO:"PW7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83907542830809,1.3002576150886087,0]},properties:{STN_NAME:"SOMERSET MRT STATION",STN_NO:"NS23"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.95337711850789,1.3431974386437018,0]},properties:{STN_NAME:"SIMEI MRT STATION",STN_NO:"EW3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.87246307197942,1.3505310712733343,0]},properties:{STN_NAME:"SERANGOON MRT STATION",STN_NO:"NE12/CC13"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89541608066651,1.391527681494754,0]},properties:{STN_NAME:"SENGKANG MRT STATION",STN_NO:"NE16"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84679989936919,1.3404441148884783,0]},properties:{STN_NAME:"BRADDELL MRT STATION",STN_NO:"NS18"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84381813023617,1.3204300813936305,0]},properties:{STN_NAME:"NOVENA MRT STATION",STN_NO:"NS20"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85427015829777,1.31244822841403,0]},properties:{STN_NAME:"FARRER PARK MRT STATION",STN_NO:"NE8"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.93017252059782,1.3240113193986303,0]},properties:{STN_NAME:"BEDOK MRT STATION",STN_NO:"EW5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.81679002803307,1.2896195393319367,0]},properties:{STN_NAME:"REDHILL MRT STATION",STN_NO:"EW18"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.9883705805094,1.357307931356581,0]},properties:{STN_NAME:"CHANGI AIRPORT MRT STATION",STN_NO:"CG2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.9125635352806,1.3939263508217181,0]},properties:{STN_NAME:"CORAL EDGE LRT STATION",STN_NO:"PE3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.7652330288461,1.3150782275151478,0]},properties:{STN_NAME:"CLEMENTI MRT STATION",STN_NO:"EW23"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.74954065562673,1.3489966462240186,0]},properties:{STN_NAME:"BUKIT BATOK MRT STATION",STN_NO:"NS2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.91263185203269,1.4023508796837036,0]},properties:{STN_NAME:"OASIS LRT STATION",STN_NO:"PE6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90029894818585,1.4117555857480226,0]},properties:{STN_NAME:"NIBONG LRT STATION",STN_NO:"PW5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90899093869159,1.3968523393495336,0]},properties:{STN_NAME:"MERIDIAN LRT STATION",STN_NO:"PE2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.751910108784,1.3586719215924337,0]},properties:{STN_NAME:"BUKIT GOMBAK MRT STATION",STN_NO:"NS3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90336181865298,1.3197792315237014,0]},properties:{STN_NAME:"EUNOS MRT STATION",STN_NO:"EW7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.73281439458322,1.3421449755958934,0]},properties:{STN_NAME:"CHINESE GARDEN MRT STATION",STN_NO:"EW25"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.91639497898551,1.3996385100843867,0]},properties:{STN_NAME:"KADALOOR LRT STATION",STN_NO:"PE5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89390790849662,1.3962489158283489,0]},properties:{STN_NAME:"CHENG LIM LRT STATION",STN_NO:"SW1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90483111294122,1.4096137640054964,0]},properties:{STN_NAME:"SAM KEE LRT STATION",STN_NO:"PW1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.76218063472083,1.4252396282240634,0]},properties:{STN_NAME:"KRANJI MRT STATION",STN_NO:"NS7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84961635261263,1.3699486593657542,0]},properties:{STN_NAME:"ANG MO KIO MRT STATION",STN_NO:"NS16"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.91622379029712,1.3946364782993537,0]},properties:{STN_NAME:"RIVIERA LRT STATION",STN_NO:"PE4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.77266121865271,1.380015493755169,0]},properties:{STN_NAME:"BANGKIT LRT STATION",STN_NO:"BP9"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.79134196548938,1.2762296708847938,0]},properties:{STN_NAME:"PASIR PANJANG MRT STATION",STN_NO:"CC26"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.79623333609311,1.3119456172770718,0]},properties:{STN_NAME:"HOLLAND VILLAGE MRT STATION",STN_NO:"CC21"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.80292770505278,1.2723234942723949,0]},properties:{STN_NAME:"LABRADOR PARK MRT STATION",STN_NO:"CC27"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.78739399247789,1.2996564796266796,0]},properties:{STN_NAME:"ONE-NORTH MRT STATION",STN_NO:"CC23"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.78449793871918,1.2934009384330016,0]},properties:{STN_NAME:"KENT RIDGE MRT STATION",STN_NO:"CC24"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.7818213289144,1.282502902015137,0]},properties:{STN_NAME:"HAW PAR VILLA MRT STATION",STN_NO:"CC25"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85514510996322,1.2759503528157061,0]},properties:{STN_NAME:"MARINA BAY MRT STATION",STN_NO:"NS27/TE20/CE2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.78387153256662,1.3356381114288016,0]},properties:{STN_NAME:"KING ALBERT PARK MRT STATION",STN_NO:"DT6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84861049977016,1.3071673594980835,0]},properties:{STN_NAME:"LITTLE INDIA MRT STATION",STN_NO:"NE7/DT12"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85243888615399,1.3039275604923835,0]},properties:{STN_NAME:"ROCHOR MRT STATION",STN_NO:"DT13"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.76236875421982,1.3826992422861184,0]},properties:{STN_NAME:"SENJA LRT STATION",STN_NO:"BP13"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8825470148321,1.3061937868831142,0]},properties:{STN_NAME:"MOUNTBATTEN MRT STATION",STN_NO:"CC7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.74436906787247,1.385172051668049,0]},properties:{STN_NAME:"CHOA CHU KANG MRT STATION",STN_NO:"NS4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86168108598153,1.319447090270205,0]},properties:{STN_NAME:"BOON KENG MRT STATION",STN_NO:"NE9"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.87972518721065,1.3428468443862047,0]},properties:{STN_NAME:"BARTLEY MRT STATION",STN_NO:"CC12"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.76965965406185,1.3877564083512886,0]},properties:{STN_NAME:"SEGAR LRT STATION",STN_NO:"BP11"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.76742925214808,1.3623400892682034,0]},properties:{STN_NAME:"HILLVIEW MRT STATION",STN_NO:"DT3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.77581897726583,1.3412035624480045,0]},properties:{STN_NAME:"BEAUTY WORLD MRT STATION",STN_NO:"DT5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.76157274134091,1.3791601969823695,0]},properties:{STN_NAME:"BUKIT PANJANG MRT STATION",STN_NO:"DT1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.7646971910385,1.3693615842520943,0]},properties:{STN_NAME:"CASHEW MRT STATION",STN_NO:"DT2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.67838692917199,1.3277168591173076,0]},properties:{STN_NAME:"JOO KOON MRT STATION",STN_NO:"EW29"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.74740209348056,1.3975496330935027,0]},properties:{STN_NAME:"YEW TEE MRT STATION",STN_NO:"NS5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83497216228058,1.429581751461734,0]},properties:{STN_NAME:"YISHUN MRT STATION",STN_NO:"NS13"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8448008229673,1.3817576068571917,0]},properties:{STN_NAME:"YIO CHU KANG MRT STATION",STN_NO:"NS15"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.87080919016014,1.3392070875067632,0]},properties:{STN_NAME:"WOODLEIGH MRT STATION",STN_NO:"NE11"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.78616372611927,1.4368311613524305,0]},properties:{STN_NAME:"WOODLANDS MRT STATION",STN_NO:"NS9/TE2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.96147329751314,1.3417404790613534,0]},properties:{STN_NAME:"UPPER CHANGI MRT STATION",STN_NO:"DT34"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84831284910886,1.2822805847293668,0]},properties:{STN_NAME:"TELOK AYER MRT STATION",STN_NO:"DT18"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88593735823048,1.3893387806248023,0]},properties:{STN_NAME:"TONGKANG LRT STATION",STN_NO:"SW7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8992488669183,1.329955264869907,0]},properties:{STN_NAME:"UBI MRT STATION",STN_NO:"DT27"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8474212170976,1.3326773927956015,0]},properties:{STN_NAME:"TOA PAYOH MRT STATION",STN_NO:"NS19"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.82703434033637,1.2862197406629308,0]},properties:{STN_NAME:"TIONG BAHRU MRT STATION",STN_NO:"EW17"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.87565537215052,1.3974369934620543,0]},properties:{STN_NAME:"THANGGAM LRT STATION",STN_NO:"SW4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86099644353527,1.2932501664155338,0]},properties:{STN_NAME:"PROMENADE MRT STATION",STN_NO:"CC4/DT15"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85065551166069,1.2968267736068328,0]},properties:{STN_NAME:"BRAS BASAH MRT STATION",STN_NO:"CC2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86363313811044,1.2998028299333464,0]},properties:{STN_NAME:"NICOLL HIGHWAY MRT STATION",STN_NO:"CC5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86906995781871,1.3313873887636662,0]},properties:{STN_NAME:"POTONG PASIR MRT STATION",STN_NO:"NE10"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.72096532016222,1.3442631497501256,0]},properties:{STN_NAME:"LAKESIDE MRT STATION",STN_NO:"EW26"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90208724224593,1.4158186973347169,0]},properties:{STN_NAME:"SAMUDERA LRT STATION",STN_NO:"PW4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89749260349976,1.3839214793059065,0]},properties:{STN_NAME:"RANGGUNG LRT STATION",STN_NO:"SE5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.82019386140993,1.4490696337624938,0]},properties:{STN_NAME:"SEMBAWANG MRT STATION",STN_NO:"NS11"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90239279920216,1.4051667769393872,0]},properties:{STN_NAME:"PUNGGOL LRT STATION",STN_NO:"PTC"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.9022575505506,1.384030767352556,0]},properties:{STN_NAME:"KANGKAR LRT STATION",STN_NO:"SE4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89304886910608,1.318113387569979,0]},properties:{STN_NAME:"PAYA LEBAR MRT STATION",STN_NO:"EW8/CC9"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.69731852705604,1.3375865013018209,0]},properties:{STN_NAME:"PIONEER MRT STATION",STN_NO:"EW28"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8558393480102,1.3006268207577478,0]},properties:{STN_NAME:"BUGIS MRT STATION",STN_NO:"EW12/DT14"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83798766461918,1.312322284496346,0]},properties:{STN_NAME:"NEWTON MRT STATION",STN_NO:"NS21/DT11"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.78994227956314,1.3072583228050314,0]},properties:{STN_NAME:"BUONA VISTA MRT STATION",STN_NO:"EW21/CC22"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84347988591063,1.2843575513396164,0]},properties:{STN_NAME:"CHINATOWN MRT STATION",STN_NO:"NE4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84447090551475,1.2846459609903658,0]},properties:{STN_NAME:"CHINATOWN MRT STATION",STN_NO:"DT19"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85145931527605,1.2840672709168361,0]},properties:{STN_NAME:"RAFFLES PLACE MRT STATION",STN_NO:"EW14/NS26"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.64906349780131,1.3210532517669453,0]},properties:{STN_NAME:"TUAS CRESCENT MRT STATION",STN_NO:"EW31"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.63681865801449,1.3403799475083573,0]},properties:{STN_NAME:"TUAS LINK MRT STATION",STN_NO:"EW33"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.63962756181238,1.3299818235881533,0]},properties:{STN_NAME:"TUAS WEST ROAD MRT STATION",STN_NO:"EW32"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.81615888843221,1.322401507237944,0]},properties:{STN_NAME:"BOTANIC GARDENS MRT STATION",STN_NO:"CC19/DT9"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8526085041432,1.2929332374692004,0]},properties:{STN_NAME:"CITY HALL MRT STATION",STN_NO:"EW13/NS25"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83914018144303,1.281412282654493,0]},properties:{STN_NAME:"OUTRAM PARK MRT STATION",STN_NO:"EW16/TE17"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83948660551037,1.2798362265777636,0]},properties:{STN_NAME:"OUTRAM PARK MRT STATION",STN_NO:"NE3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84814352687101,1.3508383853898307,0]},properties:{STN_NAME:"BISHAN MRT STATION",STN_NO:"NS17/CC15"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.96154622937273,1.334549361030716,0]},properties:{STN_NAME:"EXPO MRT STATION",STN_NO:"CG1/DT35"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.87627965663359,1.3919441926130998,0]},properties:{STN_NAME:"FERNVALE LRT STATION",STN_NO:"SW5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90237397827528,1.4051325907556078,0]},properties:{STN_NAME:"PUNGGOL MRT STATION",STN_NO:"NE17"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89309246897308,1.3827715834893815,0]},properties:{STN_NAME:"BUANGKOK MRT STATION",STN_NO:"NE15"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90552634650717,1.3881050158134636,0]},properties:{STN_NAME:"BAKAU LRT STATION",STN_NO:"SE3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88938286091724,1.3971619024754292,0]},properties:{STN_NAME:"FARMWAY LRT STATION",STN_NO:"SW2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.79829071923551,1.3024476467430925,0]},properties:{STN_NAME:"COMMONWEALTH MRT STATION",STN_NO:"EW20"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88137428349071,1.39819757839629,0]},properties:{STN_NAME:"KUPANG LRT STATION",STN_NO:"SW3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90850357798917,1.4053160222898022,0]},properties:{STN_NAME:"DAMAI LRT STATION",STN_NO:"PE7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.80604523687657,1.2946113316842758,0]},properties:{STN_NAME:"QUEENSTOWN MRT STATION",STN_NO:"EW19"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.87131526347633,1.311396642037097,0]},properties:{STN_NAME:"KALLANG MRT STATION",STN_NO:"EW10"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90589048249586,1.3915644451333637,0]},properties:{STN_NAME:"RUMBIA LRT STATION",STN_NO:"SE2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.7666673121211,1.3777546493939663,0]},properties:{STN_NAME:"PETIR LRT STATION",STN_NO:"BP7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.70605907221368,1.338604023465076,0]},properties:{STN_NAME:"BOON LAY MRT STATION",STN_NO:"EW27"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.74905150334794,1.3786121666958262,0]},properties:{STN_NAME:"KEAT HONG LRT STATION",STN_NO:"BP3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.76450057701854,1.386696674492622,0]},properties:{STN_NAME:"JELAPANG LRT STATION",STN_NO:"BP12"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.74454911669473,1.3848220120716181,0]},properties:{STN_NAME:"CHOA CHU KANG LRT STATION",STN_NO:"BP1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.89543625945798,1.3915744419839071,0]},properties:{STN_NAME:"SENGKANG LRT STATION",STN_NO:"STC"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.82145073544119,1.26545734889355,0]},properties:{STN_NAME:"HARBOURFRONT MRT STATION",STN_NO:"NE1/CC29"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.77127974972748,1.3761265375660006,0]},properties:{STN_NAME:"PENDING LRT STATION",STN_NO:"BP8"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84660479428645,1.288542216796838,0]},properties:{STN_NAME:"CLARKE QUAY MRT STATION",STN_NO:"NE5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.76302226977599,1.3779164476394574,0]},properties:{STN_NAME:"BUKIT PANJANG LRT STATION",STN_NO:"BP6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.77083795572673,1.3845326784839422,0]},properties:{STN_NAME:"FAJAR LRT STATION",STN_NO:"BP10"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88509111605632,1.3601798705902899,0]},properties:{STN_NAME:"KOVAN MRT STATION",STN_NO:"NE13"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86414412693081,1.3516197560286856,0]},properties:{STN_NAME:"LORONG CHUAN MRT STATION",STN_NO:"CC14"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8394128450996,1.348776656736364,0]},properties:{STN_NAME:"MARYMOUNT MRT STATION",STN_NO:"CC16"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83954121444613,1.3376585477902705,0]},properties:{STN_NAME:"CALDECOTT MRT STATION",STN_NO:"CC17/TE9"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85285112582106,1.2794414875995088,0]},properties:{STN_NAME:"DOWNTOWN MRT STATION",STN_NO:"DT17"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8719114641555,1.3215128864646883,0]},properties:{STN_NAME:"GEYLANG BAHRU MRT STATION",STN_NO:"DT24"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86289119803135,1.3136449959266017,0]},properties:{STN_NAME:"BENDEMEER MRT STATION",STN_NO:"DT23"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85024488974244,1.2987271895563173,0]},properties:{STN_NAME:"BENCOOLEN MRT STATION",STN_NO:"DT21"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84432545085102,1.292471594435263,0]},properties:{STN_NAME:"FORT CANNING MRT STATION",STN_NO:"DT20"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90845515798405,1.334962978846182,0]},properties:{STN_NAME:"KAKI BUKIT MRT STATION",STN_NO:"DT28"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85543504052086,1.3053804827193765,0]},properties:{STN_NAME:"JALAN BESAR MRT STATION",STN_NO:"DT22"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8832530602275,1.3268656822602558,0]},properties:{STN_NAME:"MATTAR MRT STATION",STN_NO:"DT25"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85907645399939,1.281871911967996,0]},properties:{STN_NAME:"BAYFRONT MRT STATION",STN_NO:"DT16/CE1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.80748912479956,1.3174545710295467,0]},properties:{STN_NAME:"FARRER ROAD MRT STATION",STN_NO:"CC20"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.74226323339667,1.3332090241725911,0]},properties:{STN_NAME:"JURONG EAST MRT STATION",STN_NO:"EW24/NS1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.91787672326646,1.3347556341800584,0]},properties:{STN_NAME:"BEDOK NORTH MRT STATION",STN_NO:"DT29"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.93228754735745,1.3365987361021556,0]},properties:{STN_NAME:"BEDOK RESERVOIR MRT STATION",STN_NO:"DT30"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83221933077252,1.3039377458076034,0]},properties:{STN_NAME:"ORCHARD MRT STATION",STN_NO:"NS22/TE14"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83634746191672,1.384931206774953,0]},properties:{STN_NAME:"LENTOR MRT STATION",STN_NO:"TE5"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83293672072759,1.3632672642374026,0]},properties:{STN_NAME:"BRIGHT HILL MRT STATION",STN_NO:"TE7"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.81792447452729,1.3981083797467917,0]},properties:{STN_NAME:"SPRINGLEAF MRT STATION",STN_NO:"TE4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86291089314074,1.2713773809335958,0]},properties:{STN_NAME:"MARINA SOUTH PIER MRT STATION",STN_NO:"NS28"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.88937168307221,1.3260906197339795,0]},properties:{STN_NAME:"MACPHERSON MRT STATION",STN_NO:"CC10/DT26"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.82971485192977,1.4431183773154044,0]},properties:{STN_NAME:"CANBERRA MRT STATION",STN_NO:"NS12"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.79389595243991,1.4270954766495594,0]},properties:{STN_NAME:"WOODLANDS SOUTH MRT STATION",STN_NO:"TE3"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.78567472141204,1.448350098392784,0]},properties:{STN_NAME:"WOODLANDS NORTH MRT STATION",STN_NO:"TE1"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.66059386900518,1.3195643150447596,0]},properties:{STN_NAME:"GUL CIRCLE MRT STATION",STN_NO:"EW30"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.80973975637572,1.2705817862905866,0]},properties:{STN_NAME:"TELOK BLANGAH MRT STATION",STN_NO:"CC28"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.75369963146771,1.3766592935410333,0]},properties:{STN_NAME:"TECK WHYE LRT STATION",STN_NO:"BP4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.90662621156888,1.4128738703520465,0]},properties:{STN_NAME:"TECK LEE LRT STATION",STN_NO:"PW2"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84585358345394,1.276515031949292,0]},properties:{STN_NAME:"TANJONG PAGAR MRT STATION",STN_NO:"EW15"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.94654794350295,1.3272540815765557,0]},properties:{STN_NAME:"TANAH MERAH MRT STATION",STN_NO:"EW4"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8073308653134,1.3258706039812675,0]},properties:{STN_NAME:"TAN KAH KEE MRT STATION",STN_NO:"DT8"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83292375588513,1.3544050504962823,0]},properties:{STN_NAME:"UPPER THOMSON MRT STATION",STN_NO:"TE8"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83679077026878,1.372103173214586,0]},properties:{STN_NAME:"MAYFLOWER MRT STATION",STN_NO:"TE6"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83514512581047,1.3288221699613154,0]},properties:{STN_NAME:"MOUNT PLEASANT STATION",STN_NO:"TE10"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.82564595280004,1.3190566669229433,0]},properties:{STN_NAME:"STEVENS STATION",STN_NO:"TE11"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.81964293451063,1.3059990826226315,0]},properties:{STN_NAME:"NAPIER STATION",STN_NO:"TE12"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8241468057633,1.3033955370657384,0]},properties:{STN_NAME:"Orchard Boulevard MRT Station",STN_NO:"TE13"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.83124995280009,1.3034840590458456,0]},properties:{STN_NAME:"Orchard MRT Station",STN_NO:"TE14"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8332676883545,1.2950044072300018,0]},properties:{STN_NAME:"Great World MRT Station",STN_NO:"TE15"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.8332310008689,1.2902826131866092,0]},properties:{STN_NAME:"Havelock MRT Station",STN_NO:"TE16"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.84416199882094,1.2810108837260448,0]},properties:{STN_NAME:"Maxwell MRT Station",STN_NO:"TE18"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85072431231575,1.2779951317698028,0]},properties:{STN_NAME:"Shenton Way MRT Station",STN_NO:"TE19"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.85449212581052,1.2754249702838976,0]},properties:{STN_NAME:"Marina Bay MRT Station",STN_NO:"TE20"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86292469213163,1.2743718128650756,0]},properties:{STN_NAME:"Marina South MRT Station",STN_NO:"TE21"}},{type:"Feature",geometry:{type:"Point",coordinates:[103.86792285280015,1.2799968838540665,0]},properties:{STN_NAME:"Gardens By The Bay MRT Station",STN_NO:"TE22"}}]};function getDistanceFromLatLonInKm(e,t,o,r){var N=deg2rad(o-e),t=deg2rad(r-t),t=Math.sin(N/2)*Math.sin(N/2)+Math.cos(deg2rad(e))*Math.cos(deg2rad(o))*Math.sin(t/2)*Math.sin(t/2);return 2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t))*6371}function deg2rad(e){return e*(Math.PI/180)}function refreshPokemons(){if(shouldUpdate){var e=[],t=!1,o=!1,r=!1,N=!1;$("#checkbox_raid_9").prop("checked")&&(t=!0,$("#checkbox_raid_11am").prop("checked")&&(o=!0),$("#checkbox_raid_2pm").prop("checked")&&(r=!0),$("#checkbox_raid_5pm").prop("checked")&&(N=!0));for(var T=Math.floor(Date.now()/1e3)-timeOffset,i=0;i<pokemons.length;++i){var p=pokemons[i],S=markers[i],y=!1;if((p.raidEnd-timeMoreFilter<T-10||p.raidStart-T>timeLessFilter&&0==p.id||!isPokemonChecked(p.level)&&!shouldTurnFilterOff())&&(y=!0),0==p.id?(p.raidStart<T-10||!isPokemonChecked("egg"))&&(y=!0):isPokemonChecked("boss")||(y=!0),isPokemonChecked("mystic")||1!=p.team||(y=!0),isPokemonChecked("valor")||2!=p.team||(y=!0),isPokemonChecked("instinct")||3!=p.team||(y=!0),!isPokemonChecked("exraid")||p.ex_raid_eligible||p.sponsor||(y=!0),isPokemonChecked("boosted")&&!isRaidBoosted(p)&&(y=!0),isNonBoosted&&(isRaidBoosted(p)||null===p.cell_id)&&(y=!0),t&&9==p.level&&(a=new Date(1e3*p.raidStart).toUTCString(),o&&a.match(regex11am)||r&&a.match(regex2pm)||N&&a.match(regex5pm)||(y=!0)),isFilterMRT){var a=$("#mrt_distance").val(),s=.1;$.isNumeric(a)&&(s=a/1e3);for(var n=0;n<trainStations.features.length;n++){var A=!1,M=trainStations.features[n];if(getDistanceFromLatLonInKm(p.center.lat,p.center.lng,M.geometry.coordinates[1],M.geometry.coordinates[0])<s){A=!0;break}}A||(y=!0)}0<filterMonIds.length&&(filterMonIds.includes(p.id)||(y=!0)),isFilterForm&&0!=p.id&&(filterForms.includes(parseInt(p.form))||(y=!0)),(y?removeMarker:addMarker)(S)}for(i=e.length-1;0<=i;--i)(S=markers[e[i]])._map&&S.removeFrom(map)}}isFirstTime&&($(".filter_checkbox").first().before('<input id="mon_filter" class="inserted_filter" type="search" placeholder="Filter"/><div class="inserted_filter" id="time_filter">><input id="more_filter" type="search" placeholder="End (Min)"/> <<input id="less_filter" type="search" placeholder="Hatch (Min)"/></div>'),$(".filter_checkbox").first().after('<div class="filter_checkbox"> <input id="checkbox_raid_non_boosted" type="checkbox" value="boosted"><label for="checkbox_raid_non_boosted"><img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDUxMiA1MTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZD0iTTAsNTEyaDEzOS42VjM3Mi40SDBWNTEyeiBNNDYuNSw0MTguOWg0Ni41djQ2LjVINDYuNVY0MTguOXogTTAsMTM5LjZoMTM5LjZWMEgwVjEzOS42eiBNMCwzMjUuOGgxMzkuNlYxODYuMkgwVjMyNS44eg0KCSBNNDYuNSwyMzIuN2g0Ni41djQ2LjVINDYuNVYyMzIuN3ogTTIwOS41LDBjMTYyLjksOTMuMSwyNDQuNCwyMjEuMSw1OC4yLDMzNy41TDE4Ni4yLDI1NnYyNTZoMjU2bC04MS41LTgxLjUNCglDNjA1LjEsMTg2LjIsMzcyLjQsMCwyMDkuNSwweiIvPg0KPC9zdmc+DQo=" style="width:20px; height: 20px"> Non Weather boosted only</label> </div>'),$(".filter_checkbox").first().after('<div class="filter_checkbox"> <input id="checkbox_mrt_only" type="checkbox" value="boosted"><label for="checkbox_mrt_only"><img src="data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBTdmcgVmVjdG9yIEljb25zIDogaHR0cDovL3d3dy5vbmxpbmV3ZWJmb250cy5jb20vaWNvbiAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMDAwIDEwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8bWV0YWRhdGE+IFN2ZyBWZWN0b3IgSWNvbnMgOiBodHRwOi8vd3d3Lm9ubGluZXdlYmZvbnRzLmNvbS9pY29uIDwvbWV0YWRhdGE+CjxnPjxwYXRoIGQ9Ik03MTUuOSw1MS41aC01OC4xdi04LjNjMC0xNi42LTE2LjYtMzMuMi0zMy4yLTMzLjJIMzY3LjFjLTE2LjYsMC0zMy4yLDE2LjYtMzMuMiwzMy4ydjguM2gtNDkuOGMtOTEuNCwwLTE2Ni4xLDc0LjctMTY2LjEsMTY2LjF2MzczLjdjMCw5MS40LDc0LjcsMTY2LjEsMTY2LjEsMTY2LjFoNDMxLjljOTEuNCwwLDE2Ni4xLTc0LjcsMTY2LjEtMTY2LjFWMjE3LjZDODgyLDEyNi4zLDgwNy4zLDUxLjUsNzE1LjksNTEuNXogTTMxNy4zLDY3NC40Yy00MS41LDAtODMuMS0zMy4yLTgzLjEtNzQuN2MwLTQxLjUsMzMuMi03NC43LDgzLjEtNzQuN2M0OS44LDAsODMuMSwzMy4yLDgzLjEsNzQuN0MzOTIsNjQxLjIsMzU4LjgsNjc0LjQsMzE3LjMsNjc0LjR6IE02OTEsNjc0LjRjLTQxLjUsMC04My4xLTMzLjItODMuMS03NC43YzAtNDEuNSwzMy4yLTc0LjcsODMuMS03NC43YzQ5LjgsMCw4My4xLDMzLjIsODMuMSw3NC43Qzc3NC4xLDY0MS4yLDczMi41LDY3NC40LDY5MSw2NzQuNHogTTc5MC43LDQwMC4zdjguM0gyMDkuM1YyMjUuOWMwLTU4LjEsNDkuOC0xMDgsMTE2LjMtMTA4aDM0MC41YzY2LjQsMCwxMTYuMyw0OS44LDExNi4zLDEwOHYxNzQuNEg3OTAuN3oiLz48cGF0aCBkPSJNMjAxLDk5MGMtOC4zLDAtOC4zLDAtMTYuNi04LjNjLTguMy04LjMtOC4zLTI0LjksMC0zMy4ybDE0OS41LTE0MS4yYzguMy04LjMsMjQuOS04LjMsMzMuMiwwYzguMyw4LjMsOC4zLDI0LjksMCwzMy4yTDIxNy42LDk4MS43QzIwOS4zLDk5MCwyMDkuMyw5OTAsMjAxLDk5MHoiLz48cGF0aCBkPSJNODA3LjMsOTkwYy04LjMsMC04LjMsMC0xNi42LTguM0w2NDkuNSw4NDAuNWMtOC4zLTguMy04LjMtMjQuOSwwLTMzLjJjOC4zLTguMywyNC45LTguMywzMy4yLDBsMTQxLjIsMTQxLjJjOC4zLDguMyw4LjMsMjQuOSwwLDMzLjJDODE1LjYsOTkwLDgwNy4zLDk5MCw4MDcuMyw5OTB6Ii8+PC9nPgo8L3N2Zz4=" style="width:20px; height: 20px"> MRT only</label> <input id="mrt_distance" type="search" placeholder="MRT Radius" value="100"/>m</div>'),$(".filter_checkbox").first().before('<div class="filter_checkbox deoxys"> <input id="form_normal" name="form" type="checkbox" value="33" checked><label for="form_normal">Normal</label> <input id="form_attack" name="form" type="checkbox" value="34" checked><label for="form_attack">Attack</label> <input id="form_defence" name="form" type="checkbox" value="35" checked><label for="form_defence">Defence</label> <input id="form_speed" name="form" type="checkbox" value="36" checked><label for="form_speed">Speed</label> </div> <style>.filter_checkbox.deoxys{display:none}</style>'),$("body").append("<style>.inserted_filter{margin:0 0 12px 4px; display: block;} #time_filter input {width: 80px} #mrt_distance {width: 80px}</style>"),$("body").append('<style>#custom_panel{position:absolute;top:80px;left:10px;z-index:800}.custom_i{border-radius:40px;background-color:white;width:40px;height:40px;display:flex;align-items:center;justify-content:center;box-shadow:-1px 1px #999;margin-bottom:10px}#mon_filter{margin-left:10px}.pokemon_icon_img.iv_perfect{-webkit-filter:drop-shadow(3px 3px 3px red);filter:drop-shadow(3px 3px 5px red);transform:scale(1.3,1.3);transform-origin:0 0}.pokemon_icon_img.iv90{-webkit-filter:drop-shadow(3px 3px 3px blue);filter:drop-shadow(3px 3px 3px blue);transform:scale(1.3,1.3);transform-origin:0 0}.pokemon_icon_img.iv80{-webkit-filter:drop-shadow(3px 3px 3px purple);filter:drop-shadow(3px 3px 3px purple)}#map.grey .pokemon_icon_img.iv_perfect{-webkit-filter:drop-shadow(3px 3px 3px #ff1493);filter:drop-shadow(3px 3px 5px #ff1493)}#map.grey .pokemon_icon_img.iv90{-webkit-filter:drop-shadow(3px 3px 3px #00bfff);filter:drop-shadow(3px 3px 3px #00bfff)}#map.grey .pokemon_icon_img.iv80{-webkit-filter:drop-shadow(3px 3px 3px #F4D03F);filter:drop-shadow(3px 3px 3px #F4D03F)}</style> <div id="custom_panel"> <div id="filter_icon" class="custom_i"> <svg style="width:24px;height:24px" viewBox="0 0 24 24"><path fill="#999" d="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z" /></svg> </div> <div id="darken_icon" class="custom_i"> <svg style="width:24px;height:24px" viewBox="0 0 24 24"> <path fill="#999" d="M12,16L19.36,10.27L21,9L12,2L3,9L4.63,10.27M12,18.54L4.62,12.81L3,14.07L12,21.07L21,14.07L19.37,12.8L12,18.54Z" /></svg> </div> </div>'),$("body").append('<style>input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;height:14px;width:14px;display:block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:14px}</style>'),$("#close_donation_button").click(),$(".toast-close-button").click(),$("#overlay").hide(),$("#topbar").hide(),$(".please").hide(),$("#map").css({width:"100vw",height:"100vh",top:0,bottom:0}),$(window).resize(function(){$("#map").css({width:"100vw",height:"100vh"})}),$("#filter_settings").css("top","10px"),$("#locate").css("top","10px"),$("#filter_icon").on("click",function(){$("#filter_link").click()}),$("#darken_icon").on("click",function(){toggleOverlay()}),$("#checkbox_raid_9").parent(".filter_checkbox").after('<div class="filter_checkbox" id="el_raid_filter"> <input id="checkbox_raid_11am" type="checkbox" checked><label for="checkbox_raid_11am"> 11am</label> <input id="checkbox_raid_2pm" type="checkbox" checked><label for="checkbox_raid_2pm"> 2pm</label> <input id="checkbox_raid_5pm" type="checkbox" checked><label for="checkbox_raid_5pm"> 5pm</label> </div>'),$("#checkbox_raid_9").prop("checked")?$("#el_raid_filter").show():$("#el_raid_filter").hide(),isFirstTime=!1),$("#less_filter").on("input",function(){var e=$(this).val();timeLessFilter=!(1<=e.length)||Number.isNaN(e)?Number.MAX_VALUE:60*e}),$("#more_filter").on("input",function(){var e=$(this).val();timeMoreFilter=!(1<=e.length)||Number.isNaN(e)?0:60*e}),$("#mon_filter").on("input",function(){var o,e,r=$(this).val();filterMonIds=1<=r.length?(o=[],e=$.grep(pokeArray,function(e){var t=new RegExp(r,"i");return e.n.match(t)}),$.each(e,function(e,t){o.push(parseInt(t.i))}),o):[],isFilterForm="deoxys"==r.toLowerCase()?($(".filter_checkbox.deoxys").show(),!0):($(".filter_checkbox.deoxys").hide(),!1)}),$("#checkbox_raid_non_boosted").on("change",function(){(isNonBoosted=!!$(this).prop("checked"))&&$("#checkbox_raid_boosted").prop("checked")&&$("#checkbox_raid_boosted").click()}),$("#checkbox_raid_boosted").on("change",function(){$(this).prop("checked")&&$("#checkbox_raid_non_boosted").prop("checked")&&$("#checkbox_raid_non_boosted").click()}),$("#checkbox_raid_9").on("change",function(){$(this).prop("checked")?$("#el_raid_filter").show():$("#el_raid_filter").hide()}),$(".filter_checkbox.deoxys input").change(function(){var e=parseInt($(this).val());$(this).is(":checked")?filterForms.push(e):-1!==(e=filterForms.indexOf(e))&&filterForms.splice(e,1)}),$("#checkbox_mrt_only").on("change",function(){isFilterMRT=!!$(this).prop("checked")});
Comments
-
- Instructions for chrome
- 1. open SGPokeMap.com on chrome
- 2. click on ☆ to save bookmark
- 3. click ⋮ -> bookmarks
- 4. edit bookmark address to the text in pastebin URL earlier starting with "javascript:function.... "
- 5. Edit bookmark name to “SGPokeMap filter raid” or a name of your choice
- 6. Save
- 7. Type “ SGPokeMap filter raid” on address bar
-
- Instructions for iOS
- 1. Go to pastebin URL
- 2. Copy the raw paste data at the bottom of the page.
- 3. Open SGPokeMap.com
- 4. Add to bookmark.
- 5. Open your bookmark list.
- 6. Go to edit mode.
- 7. Select the new bookmark, edit the first field to “SGPokeMap filter raid”, edit the 2nd field to this code and paste in the raw paste data.
- 8. Load the raid page on SGPokeMap .
- 9. Click on the bookmark link “SGPokeMap filter raid” when you're on the SGPokeMap raid page.
Add Comment
Please, Sign In to add comment