Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript:$("#raids-switch").parents(".form-check").before('<div class="form-check form-switch"><input class="form-check-input" id="mrt-only-switch" type="checkbox" name="mrt-only-switch"><label class="form-check-label"for="mrt-only-switch">MRT Only</label><input id="mrt-radius" type="number" name="mrt-radius" style="width:100px" value="100">m</div><div class="dropdown-divider"></div>');var isFilterMRT=!1;function clearStaleMarkers(){var r;$.each(mapData.pokemons,function(e,t){var r,o,N=!1;!0===Store.get("showMissingIVOnly")?N=null===mapData.pokemons[e].individual_attack||null===mapData.pokemons[e].individual_defense||null===mapData.pokemons[e].individual_stamina:(N=(N=0===minIV&&0===minLevel&&0===minLLRank&&0===minGLRank&&0===minULRank)||null!==mapData.pokemons[e].individual_attack&&null!==mapData.pokemons[e].individual_defense&&null!==mapData.pokemons[e].individual_stamina&&(!0===Store.get("showZeroIv")&&0===mapData.pokemons[e].individual_attack&&0===mapData.pokemons[e].individual_defense&&0===mapData.pokemons[e].individual_stamina||!0===Store.get("showHundoIv")&&15===mapData.pokemons[e].individual_attack&&15===mapData.pokemons[e].individual_defense&&15===mapData.pokemons[e].individual_stamina)||N)||(r=!0,(0<minLLRank||0<minGLRank||0<minULRank)&&(r=!1,(0<minLLRank&&null!==mapData.pokemons[e].pvp_rankings_little_league_best&&mapData.pokemons[e].pvp_rankings_little_league_best<=minLLRank||0<minGLRank&&null!==mapData.pokemons[e].pvp_rankings_great_league_best&&mapData.pokemons[e].pvp_rankings_great_league_best<=minGLRank||0<minULRank&&null!==mapData.pokemons[e].pvp_rankings_ultra_league_best&&mapData.pokemons[e].pvp_rankings_ultra_league_best<=minULRank)&&(r=!0),N=!0===Store.get("showIndependantPvpAndStats")&&r),N||(o=!0===excludedMinIV.includes(mapData.pokemons[e].pokemon_id)||(0===minIV||null!==mapData.pokemons[e].iv&&mapData.pokemons[e].iv>=minIV)&&(0===minLevel||null!==mapData.pokemons[e].level&&mapData.pokemons[e].level>=minLevel),N=!0===Store.get("showIndependantPvpAndStats")&&o||!1===Store.get("showIndependantPvpAndStats")&&o&&r)),(mapData.pokemons[e].disappear_time<(new Date).getTime()||(0<=excludedPokemon.indexOf(mapData.pokemons[e].pokemon_id)||isTemporaryHidden(mapData.pokemons[e].pokemon_id)||!1===N||!0===Store.get("showBigKarp")&&129===mapData.pokemons[e].pokemon_id&&(mapData.pokemons[e].weight<13.14||null===mapData.pokemons[e].weight)||!0===Store.get("showTinyRat")&&19===mapData.pokemons[e].pokemon_id&&(2.4<mapData.pokemons[e].weight||null===mapData.pokemons[e].weight)||1===Store.get("showDespawnTimeType")&&0===mapData.pokemons[e].expire_timestamp_verified||2===Store.get("showDespawnTimeType")&&(0<mapData.pokemons[e].expire_timestamp_verified||null===mapData.pokemons[e].spawn_id)||3===Store.get("showDespawnTimeType")&&0<mapData.pokemons[e].expire_timestamp_verified||1===Store.get("showPokemonGender")&&1!==mapData.pokemons[e].gender||2===Store.get("showPokemonGender")&&2!==mapData.pokemons[e].gender)&&encounterId!==mapData.pokemons[e].encounter_id)&&(mapData.pokemons[e].marker.rangeCircle&&(markers.removeLayer(mapData.pokemons[e].marker.rangeCircle),delete mapData.pokemons[e].marker.rangeCircle),markers.removeLayer(mapData.pokemons[e].marker),delete mapData.pokemons[e])}),Store.get("showQuests")&&(r=(new Date).setHours(0,0,0,0)/1e3,$.each(mapData.pokestops,function(e,t){Number(mapData.pokestops[e].quest_timestamp)<r&&(mapData.pokestops[e].marker.rangeCircle&&(markers.removeLayer(mapData.pokestops[e].marker.rangeCircle),delete mapData.pokestops[e].marker.rangeCircle),mapData.pokestops[e].marker.placementRangeCircle&&(markers.removeLayer(mapData.pokestops[e].marker.placementRangeCircle),delete mapData.pokestops[e].marker.placementRangeCircle),markers.removeLayer(mapData.pokestops[e].marker),delete mapData.pokestops[e])})),!Store.get("showGyms")&&Store.get("showRaids")&&$.each(mapData.gyms,function(e,t){var r=!1;if(isFilterMRT){var o=$("#mrt-radius").val(),N=.1;$.isNumeric(o)&&(N=o/1e3);for(var T=0;T<trainStations.features.length;T++){var p=!1,a=trainStations.features[T];if(getDistanceFromLatLonInKm(mapData.gyms[e].latitude,mapData.gyms[e].longitude,a.geometry.coordinates[1],a.geometry.coordinates[0])<N){p=!0;break}}p||(r=!0)}(-1<excludedRaidboss.indexOf(Number(mapData.gyms[e].raid_pokemon_id))&&0<mapData.gyms[e].raid_pokemon_id&&mapData.gyms[e].raid_start<(new Date).getTime()&&mapData.gyms[e].raid_end>(new Date).getTime()||-1<excludedRaidegg.indexOf(Number(mapData.gyms[e].raid_level))&&mapData.gyms[e].raid_start>(new Date).getTime()||-1<excludedRaidegg.indexOf(Number(mapData.gyms[e].raid_level)+9)&&mapData.gyms[e].raid_start<(new Date).getTime()&&mapData.gyms[e].raid_pokemon_id<=0)&&(r=!0),r&&(mapData.gyms[e].marker.rangeCircle&&(markers.removeLayer(mapData.gyms[e].marker.rangeCircle),delete mapData.gyms[e].marker.rangeCircle),mapData.gyms[e].marker.placementRangeCircle&&(markers.removeLayer(mapData.gyms[e].marker.placementRangeCircle),delete mapData.gyms[e].marker.placementRangeCircle),markers.removeLayer(mapData.gyms[e].marker),delete mapData.gyms[e])}),Store.get("showNests")&&$.each(mapData.nests,function(e,t){Number(mapData.nests[e].pokemon_avg)<Store.get("showNestAvg")&&(mapData.nests[e].marker.rangeCircle&&(markers.removeLayer(mapData.nests[e].marker.rangeCircle),delete mapData.nests[e].marker.rangeCircle),markers.removeLayer(mapData.nests[e].marker),delete mapData.nests[e])})}$("#mrt-only-switch").on("change",function(){isFilterMRT=!!$(this).prop("checked")});var 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,r,o){var N=deg2rad(r-e),t=deg2rad(o-t),t=Math.sin(N/2)*Math.sin(N/2)+Math.cos(deg2rad(e))*Math.cos(deg2rad(r))*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)}
Advertisement
Comments
-
- Instructions for chrome
- 1. open SGPogoMap.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 “SGPogoMap MRT filter” or a name of your choice
- 6. Save
- 7. Type “ SGPogoMap MRT filter” 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 SGPogoMap.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 “SGPogoMap MRT filter”, 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 “SGPogoMap MRT filter” when you're on the SGPogoMap map page.
Add Comment
Please, Sign In to add comment
Advertisement