SlideShare a Scribd company logo
1 of 2
Download to read offline
please write java codes
* Adds markers to the map for the morning pedestrian counts in May 2021.
* These counts are in the second-to-last field in the CSV data file. So we look at the second-to-last
array element in our data array for these values.
* @param data A two-dimensional String array, containing the data returned by the
getDataFromLines method. (Contains the information from the csv file separated by commas)
*/
public void showMay2021MorningCounts(String[][] data) {
clearMap(); // clear any markers previously placed on the map
mapTitle = "May 2021 Morning Pedestrian Counts";
//Complete this code
** an example code:
float lat = 40.737375365084105f; // latitude of a location of interest
float lng = -74.00101207586745f; // longitude of a location of interest
Location markerLocatio = new Location(lat, lng); // create a Location object
int pedestrianCount = 11024; // an example pedestrian count (need to get it from the file)
float markerRadius = pedestrianCount * SCALE_FACTOR;
float[] markerColor = {255, 0, 0, 127}; // a color, specified as a combinatino of red, green, blue, and
alpha (i.e. transparency), each represented as numbers between 0 and 255.
MarkerBubble marker = new MarkerBubble(this, markerLocatio, markerRadius, markerColor);
map.addMarker(marker);
Sample of the csv file :
the_geom,Borough,Loc,OBJECTID,Street_Nam,From_Stree,To_Street,Index,May07_AM,May07_
PM,May07_MD,Sept07_AM,Sept07_PM,Sept07_MD,May08_AM,May08_PM,May08_MD,Sept08_
AM,Sept08_PM,Sept08_MD,May09_AM,May09_PM,May09_MD,Sept09_AM,Sept09_PM,Sept09
_MD,May10_AM,May10_PM,May10_MD,Sept10_AM,Sept10_PM,Sept10_MD,May11_AM,May11
_PM,May11_MD,Sept11_AM,Sept11_PM,Sept11_MD,May12_AM,May12_PM,May12_MD,Sept12
_AM,Sept12_PM,Sept12_MD,May13_AM,May13_PM,May13_MD,Sept13_AM,Sept13_PM,Sept1
3_MD,May14_AM,May14_PM,May14_MD,Sept14_AM,Sept14_PM,Sept14_MD,May15_AM,May1
5_PM,May15_MD,Sept15_AM,Sept15_PM,Sept15_MD,May16_AM,May16_PM,May16_MD,Sept1
6_AM,Sept16_PM,Sept16_MD,May17_AM,May17_PM,May17_MD,Sept17_AM,Sept17_PM,Sept
17_MD,May18_AM,May18_PM,May18_MD,Sept18_AM,Sept18_PM,Sept18_MD,May19_AM,May
19_PM,May19_MD,Oct20_AM,Oct20_PM,Oct20_MD,May21_AM,May21_PM,May21_MD
POINT (-73.90459140730678 40.87919896648574),Bronx,1,1,Broadway,West 231st
Street,Naples
Terrace,N,1189,4094,2508,734,2646,2939,802,4015,2631,1125,4310,3420,1001,3475,2832,991,
4262,2469,1010,3609,3128,863,4119,2217,997,4440,2687,1328,3820,2428,1288,3328,3365,126
8,4315,2276,1210,4710,3825,1206,4590,3008,1220,4384,2641,1450,4646,2996,1788,4980,3033,
1204,4520,2999,1246,4531,2686,1309,3642,2830,1916,5893,2776,1111,4044,2731,1271,4502,2
899,1708,4464,2967,,,,486,2843,1754,630,3262,1710
POINT (-73.92188432870218 40.82662794123294),Bronx,2,2,East 161st Street,Grand
Concourse,Sheridan
Avenue,Y,1511,3184,1971,1855,3754,1183,1136,2638,1522,1939,3283,1383,1351,3111,1304,12
27,3137,2762,2077,3283,1409,1007,3069,1477,1734,3333,1772,2051,3525,1752,1233,1875,191
2,2113,4099,1970,2278,4215,2288,2071,3890,1832,2206,4363,2315,1949,4435,2388,2318,4589,
2483,2005,4790,2512,2053,4721,2311,2109,5485,2548,1848,4920,2143,2389,5952,2832,1749,5
148,2156,2006,4723,1604,1702,4347,1576,780,1892,1287,1405,2097,1410
POINT (-73.89535781584335 40.86215460031517),Bronx,3,3,East Fordham Road,Valentine
Avenue,Tiebout
Avenue,Y,1832,12311,14391,1829,9215,15065,1061,8013,7927,2497,10010,8013,1689,8374,747
2,2387,10655,6614,2285,10943,10424,2807,12658,7714,2289,15890,9167,2679,13548,8140,212
5,7635,7022,2704,10486,7421,2710,12723,8872,2651,10613,8241,2699,12490,6339,2752,10408
,8266,2382,11216,7574,2733,10586,9072,2540,11272,8422,2422,11145,9775,2557,12125,6499,
2783,12388,7076,2209,9634,7066,2246,8931,6212,1625,11739,7468,972,6976,5058,942,5576,4
402

More Related Content

Similar to please write java codes Adds markers to the map for the mo.pdf

Notes fp201-pointer notes
Notes fp201-pointer notesNotes fp201-pointer notes
Notes fp201-pointer notesSiti Nadirah
 
Sapo GIS Hands-On
Sapo GIS Hands-OnSapo GIS Hands-On
Sapo GIS Hands-Oncodebits
 
Gis SAPO Hands On
Gis SAPO Hands OnGis SAPO Hands On
Gis SAPO Hands Oncodebits
 
SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...
SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...
SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...ijwmn
 
Python Programming.pptx
Python Programming.pptxPython Programming.pptx
Python Programming.pptxSudhakarVenkey
 

Similar to please write java codes Adds markers to the map for the mo.pdf (7)

Pointers.ppt
Pointers.pptPointers.ppt
Pointers.ppt
 
Notes fp201-pointer notes
Notes fp201-pointer notesNotes fp201-pointer notes
Notes fp201-pointer notes
 
Sapo GIS Hands-On
Sapo GIS Hands-OnSapo GIS Hands-On
Sapo GIS Hands-On
 
Gis SAPO Hands On
Gis SAPO Hands OnGis SAPO Hands On
Gis SAPO Hands On
 
SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...
SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...
SIMULATION PROCESS FOR MOBILE NODES INFORMATION USING LOCATION-AIDED ROUTING ...
 
Python Programming.pptx
Python Programming.pptxPython Programming.pptx
Python Programming.pptx
 
Embedded C - Lecture 2
Embedded C - Lecture 2Embedded C - Lecture 2
Embedded C - Lecture 2
 

More from shreedattaagenciees2

Pls provide details steps as reference much appreciated Do.pdf
Pls provide details steps as reference much appreciated Do.pdfPls provide details steps as reference much appreciated Do.pdf
Pls provide details steps as reference much appreciated Do.pdfshreedattaagenciees2
 
Plz I need your Help With these Question on page 1 2 3 As.pdf
Plz I need your Help With these Question on page 1 2 3  As.pdfPlz I need your Help With these Question on page 1 2 3  As.pdf
Plz I need your Help With these Question on page 1 2 3 As.pdfshreedattaagenciees2
 
Pleases do not copy and paste explain in your own words E.pdf
Pleases do not copy and paste explain in your own words  E.pdfPleases do not copy and paste explain in your own words  E.pdf
Pleases do not copy and paste explain in your own words E.pdfshreedattaagenciees2
 
Popovich industries stock is valued et 1300 a share The fi.pdf
Popovich industries stock is valued et 1300 a share The fi.pdfPopovich industries stock is valued et 1300 a share The fi.pdf
Popovich industries stock is valued et 1300 a share The fi.pdfshreedattaagenciees2
 
plz and thank u 13 From a Keynesian point of view which i.pdf
plz and thank u 13 From a Keynesian point of view which i.pdfplz and thank u 13 From a Keynesian point of view which i.pdf
plz and thank u 13 From a Keynesian point of view which i.pdfshreedattaagenciees2
 
Plot the image of the Nyquist contour when k 1 and Gs .pdf
Plot the image of the Nyquist contour when k  1 and Gs  .pdfPlot the image of the Nyquist contour when k  1 and Gs  .pdf
Plot the image of the Nyquist contour when k 1 and Gs .pdfshreedattaagenciees2
 
Popovich Industries stock is valued at 1000 a share The f.pdf
Popovich Industries stock is valued at 1000 a share The f.pdfPopovich Industries stock is valued at 1000 a share The f.pdf
Popovich Industries stock is valued at 1000 a share The f.pdfshreedattaagenciees2
 
Please write new code 1 A Java program contains various pa.pdf
Please write new code 1 A Java program contains various pa.pdfPlease write new code 1 A Java program contains various pa.pdf
Please write new code 1 A Java program contains various pa.pdfshreedattaagenciees2
 
Please write the name of movie also link of vdeo SYST15892 .pdf
Please write the name of movie also link of vdeo SYST15892 .pdfPlease write the name of movie also link of vdeo SYST15892 .pdf
Please write the name of movie also link of vdeo SYST15892 .pdfshreedattaagenciees2
 
Pope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdfPope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdfshreedattaagenciees2
 
pls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdfpls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdfshreedattaagenciees2
 
Please write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdfPlease write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdfshreedattaagenciees2
 
pls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdfpls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdfshreedattaagenciees2
 
Political pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdfPolitical pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdfshreedattaagenciees2
 
Poliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdfPoliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdfshreedattaagenciees2
 
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdfPoints BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdfshreedattaagenciees2
 
points based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdfpoints based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdfshreedattaagenciees2
 
Por qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdfPor qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdfshreedattaagenciees2
 
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdfPoelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdfshreedattaagenciees2
 
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdfPregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdfshreedattaagenciees2
 

More from shreedattaagenciees2 (20)

Pls provide details steps as reference much appreciated Do.pdf
Pls provide details steps as reference much appreciated Do.pdfPls provide details steps as reference much appreciated Do.pdf
Pls provide details steps as reference much appreciated Do.pdf
 
Plz I need your Help With these Question on page 1 2 3 As.pdf
Plz I need your Help With these Question on page 1 2 3  As.pdfPlz I need your Help With these Question on page 1 2 3  As.pdf
Plz I need your Help With these Question on page 1 2 3 As.pdf
 
Pleases do not copy and paste explain in your own words E.pdf
Pleases do not copy and paste explain in your own words  E.pdfPleases do not copy and paste explain in your own words  E.pdf
Pleases do not copy and paste explain in your own words E.pdf
 
Popovich industries stock is valued et 1300 a share The fi.pdf
Popovich industries stock is valued et 1300 a share The fi.pdfPopovich industries stock is valued et 1300 a share The fi.pdf
Popovich industries stock is valued et 1300 a share The fi.pdf
 
plz and thank u 13 From a Keynesian point of view which i.pdf
plz and thank u 13 From a Keynesian point of view which i.pdfplz and thank u 13 From a Keynesian point of view which i.pdf
plz and thank u 13 From a Keynesian point of view which i.pdf
 
Plot the image of the Nyquist contour when k 1 and Gs .pdf
Plot the image of the Nyquist contour when k  1 and Gs  .pdfPlot the image of the Nyquist contour when k  1 and Gs  .pdf
Plot the image of the Nyquist contour when k 1 and Gs .pdf
 
Popovich Industries stock is valued at 1000 a share The f.pdf
Popovich Industries stock is valued at 1000 a share The f.pdfPopovich Industries stock is valued at 1000 a share The f.pdf
Popovich Industries stock is valued at 1000 a share The f.pdf
 
Please write new code 1 A Java program contains various pa.pdf
Please write new code 1 A Java program contains various pa.pdfPlease write new code 1 A Java program contains various pa.pdf
Please write new code 1 A Java program contains various pa.pdf
 
Please write the name of movie also link of vdeo SYST15892 .pdf
Please write the name of movie also link of vdeo SYST15892 .pdfPlease write the name of movie also link of vdeo SYST15892 .pdf
Please write the name of movie also link of vdeo SYST15892 .pdf
 
Pope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdfPope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdf
 
pls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdfpls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdf
 
Please write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdfPlease write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdf
 
pls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdfpls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdf
 
Political pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdfPolitical pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdf
 
Poliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdfPoliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdf
 
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdfPoints BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdf
 
points based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdfpoints based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdf
 
Por qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdfPor qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdf
 
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdfPoelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
 
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdfPregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
 

Recently uploaded

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 

Recently uploaded (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

please write java codes Adds markers to the map for the mo.pdf

  • 1. please write java codes * Adds markers to the map for the morning pedestrian counts in May 2021. * These counts are in the second-to-last field in the CSV data file. So we look at the second-to-last array element in our data array for these values. * @param data A two-dimensional String array, containing the data returned by the getDataFromLines method. (Contains the information from the csv file separated by commas) */ public void showMay2021MorningCounts(String[][] data) { clearMap(); // clear any markers previously placed on the map mapTitle = "May 2021 Morning Pedestrian Counts"; //Complete this code ** an example code: float lat = 40.737375365084105f; // latitude of a location of interest float lng = -74.00101207586745f; // longitude of a location of interest Location markerLocatio = new Location(lat, lng); // create a Location object int pedestrianCount = 11024; // an example pedestrian count (need to get it from the file) float markerRadius = pedestrianCount * SCALE_FACTOR; float[] markerColor = {255, 0, 0, 127}; // a color, specified as a combinatino of red, green, blue, and alpha (i.e. transparency), each represented as numbers between 0 and 255. MarkerBubble marker = new MarkerBubble(this, markerLocatio, markerRadius, markerColor); map.addMarker(marker); Sample of the csv file : the_geom,Borough,Loc,OBJECTID,Street_Nam,From_Stree,To_Street,Index,May07_AM,May07_ PM,May07_MD,Sept07_AM,Sept07_PM,Sept07_MD,May08_AM,May08_PM,May08_MD,Sept08_ AM,Sept08_PM,Sept08_MD,May09_AM,May09_PM,May09_MD,Sept09_AM,Sept09_PM,Sept09 _MD,May10_AM,May10_PM,May10_MD,Sept10_AM,Sept10_PM,Sept10_MD,May11_AM,May11 _PM,May11_MD,Sept11_AM,Sept11_PM,Sept11_MD,May12_AM,May12_PM,May12_MD,Sept12 _AM,Sept12_PM,Sept12_MD,May13_AM,May13_PM,May13_MD,Sept13_AM,Sept13_PM,Sept1 3_MD,May14_AM,May14_PM,May14_MD,Sept14_AM,Sept14_PM,Sept14_MD,May15_AM,May1 5_PM,May15_MD,Sept15_AM,Sept15_PM,Sept15_MD,May16_AM,May16_PM,May16_MD,Sept1 6_AM,Sept16_PM,Sept16_MD,May17_AM,May17_PM,May17_MD,Sept17_AM,Sept17_PM,Sept 17_MD,May18_AM,May18_PM,May18_MD,Sept18_AM,Sept18_PM,Sept18_MD,May19_AM,May 19_PM,May19_MD,Oct20_AM,Oct20_PM,Oct20_MD,May21_AM,May21_PM,May21_MD POINT (-73.90459140730678 40.87919896648574),Bronx,1,1,Broadway,West 231st Street,Naples Terrace,N,1189,4094,2508,734,2646,2939,802,4015,2631,1125,4310,3420,1001,3475,2832,991, 4262,2469,1010,3609,3128,863,4119,2217,997,4440,2687,1328,3820,2428,1288,3328,3365,126 8,4315,2276,1210,4710,3825,1206,4590,3008,1220,4384,2641,1450,4646,2996,1788,4980,3033, 1204,4520,2999,1246,4531,2686,1309,3642,2830,1916,5893,2776,1111,4044,2731,1271,4502,2 899,1708,4464,2967,,,,486,2843,1754,630,3262,1710 POINT (-73.92188432870218 40.82662794123294),Bronx,2,2,East 161st Street,Grand Concourse,Sheridan
  • 2. Avenue,Y,1511,3184,1971,1855,3754,1183,1136,2638,1522,1939,3283,1383,1351,3111,1304,12 27,3137,2762,2077,3283,1409,1007,3069,1477,1734,3333,1772,2051,3525,1752,1233,1875,191 2,2113,4099,1970,2278,4215,2288,2071,3890,1832,2206,4363,2315,1949,4435,2388,2318,4589, 2483,2005,4790,2512,2053,4721,2311,2109,5485,2548,1848,4920,2143,2389,5952,2832,1749,5 148,2156,2006,4723,1604,1702,4347,1576,780,1892,1287,1405,2097,1410 POINT (-73.89535781584335 40.86215460031517),Bronx,3,3,East Fordham Road,Valentine Avenue,Tiebout Avenue,Y,1832,12311,14391,1829,9215,15065,1061,8013,7927,2497,10010,8013,1689,8374,747 2,2387,10655,6614,2285,10943,10424,2807,12658,7714,2289,15890,9167,2679,13548,8140,212 5,7635,7022,2704,10486,7421,2710,12723,8872,2651,10613,8241,2699,12490,6339,2752,10408 ,8266,2382,11216,7574,2733,10586,9072,2540,11272,8422,2422,11145,9775,2557,12125,6499, 2783,12388,7076,2209,9634,7066,2246,8931,6212,1625,11739,7468,972,6976,5058,942,5576,4 402