android-samples/ApiDemos/resources/new_york_points.csv
Enrique López Mañas f4654e60a2
feat: Data-Driven styling samples (#1771)
* fix: import rememberMarkerState and use the marker state correctly

* feat: dataset styling Kotlin samples

* feat: added DataDrivenBoundariesActivity.kt

* feat: added DataDrivenBoundariesActivity

* feat: added documentation

* feat: added header

* chore: changed MY_MAP_ID to DEMO_MAP_ID

* feat: moved data files to raw

* feat: added DataDrivenBoundariesActivity

* feat: removed unused files

* feat: map id

* chore: replace System.out.println with Log.d

* feat: added region tags

* feat: added different set of DDS

* feat: added different set of DDS

* feat: replacing files

feat: replacing files

* feat: replacing files

* feat: compileSdk 35

* feat: compileSdk 35

* chore: updated README file

* feat: trying to force different datasets

* feat: updated samples

* feat: Add data-driven styling for datasets

This commit introduces data-driven styling for datasets in the ApiDemos application.

The following changes were made:

Added a custom Application class (ApiDemoApplication) to check for the presence and validity of the API key during startup.
Added a new data structure (DataSet) to hold information about each dataset, including its label, dataset ID, location, and styling callback.
Updated the DataDrivenDatasetStylingActivity to use the new data structure and styling callbacks.
Rename the dataset input files to better reflect there contents.

* fix: moves the dataset ids to the secrets.properties file

* feat: significant rewrite to of DataDrivenDatasetStylingActivity

* Makes the app look better on full screen with a cutout
* Uses material elements
* Switch to using secrets for the data set ids
  * more of a convenience to prevent having to remove the ids when submitting
* moves dataset data files to common area since they are not used directly by the app
* Detailed instructions for uploading the data to console (WIP)

* fix: exports the data driven styling activities so they can be run directly

* feat: added header

* feat: change ubuntu-latest

* feat: change ubuntu-latest

* feat: change ubuntu-latest

---------

Co-authored-by: dkhawk <107309+dkhawk@users.noreply.github.com>
2025-02-13 15:37:43 -07:00

4.3 KiB

1XYLat/LongColor
2-73.956134493786140.7940823884086POINT (-73.9561344937861 40.7940823884086)Gray+White
3-73.968857469110240.7837825208444POINT (-73.9688574691102 40.7837825208444)Cinnamon+White
4-73.95921540.792781POINT (-73.959215 40.792781)Gray
5-73.96189540.788412POINT (-73.961895 40.788412)Cinnamon+Gray
6-73.96294640.791268POINT (-73.962946 40.791268)White
7-73.96509340.784845POINT (-73.965093 40.784845)Gray+Cinnamon
8-73.95788440.794890POINT (-73.957884 40.794890)Cinnamon+
9-73.96371140.786434POINT (-73.963711 40.786434)Black+
10-73.96801540.784331POINT (-73.968015 40.784331)Gray+Cinnamon
11-73.96034240.790540POINT (-73.960342 40.790540)Cinnamon+White
12-73.96401540.785615POINT (-73.964015 40.785615)White
13-73.96619840.789051POINT (-73.966198 40.789051)Black+
14-73.95812840.793361POINT (-73.958128 40.793361)Gray
15-73.96901240.783421POINT (-73.969012 40.783421)Cinnamon+Gray
16-73.96111740.788948POINT (-73.961117 40.788948)Gray+White
17-73.96548740.785021POINT (-73.965487 40.785021)Cinnamon+
18-73.95941240.791335POINT (-73.959412 40.791335)White
19-73.96338440.787123POINT (-73.963384 40.787123)Gray
20-73.96712840.783958POINT (-73.967128 40.783958)Gray+Cinnamon
21-73.95679540.793561POINT (-73.956795 40.793561)Cinnamon+White
22-73.96053240.789728POINT (-73.960532 40.789728)Black+
23-73.96824440.784109POINT (-73.968244 40.784109)White
24-73.95710240.794429POINT (-73.957102 40.794429)Gray+White
25-73.96228740.787887POINT (-73.962287 40.787887)Cinnamon+Gray
26-73.96490240.785924POINT (-73.964902 40.785924)Gray+Cinnamon
27-73.95844240.792468POINT (-73.958442 40.792468)Cinnamon+
28-73.96985640.783591POINT (-73.969856 40.783591)White
29-73.96143840.788054POINT (-73.961438 40.788054)Gray
30-73.96572540.784775POINT (-73.965725 40.784775)Cinnamon+White
31-73.95722840.793992POINT (-73.957228 40.793992)Gray+Cinnamon
32-73.96321540.786656POINT (-73.963215 40.786656)Black+
33-73.96844840.784531POINT (-73.968448 40.784531)White
34-73.96089240.790921POINT (-73.960892 40.790921)Cinnamon+Gray
35-73.96478540.785408POINT (-73.964785 40.785408)Gray
36-73.96654240.788601POINT (-73.966542 40.788601)Cinnamon+
37-73.95792640.793721POINT (-73.957926 40.793721)Gray+White
38-73.96952240.783202POINT (-73.969522 40.783202)Cinnamon+White
39-73.96158240.788718POINT (-73.961582 40.788718)White
40-73.96569240.784492POINT (-73.965692 40.784492)Black+
41-73.95861240.792631POINT (-73.958612 40.792631)Gray+Cinnamon
42-73.96274840.787442POINT (-73.962748 40.787442)Cinnamon+Gray
43-73.96831240.784691POINT (-73.968312 40.784691)Gray
44-73.96031240.790058POINT (-73.960312 40.790058)Cinnamon+
45-73.96421240.786018POINT (-73.964212 40.786018)White
46-73.96695740.788324POINT (-73.966957 40.788324)Gray+White
47-73.95801240.793342POINT (-73.958012 40.793342)Cinnamon+Gray
48-73.96901840.783401POINT (-73.969018 40.783401)Black+
49-73.96172340.788625POINT (-73.961723 40.788625)Gray+Cinnamon
50-73.96513240.784762POINT (-73.965132 40.784762)White
51-73.95742340.793973POINT (-73.957423 40.793973)Cinnamon+
52-73.96365240.786123POINT (-73.963652 40.786123)Gray
53-73.96811740.784432POINT (-73.968117 40.784432)Cinnamon+White
54-73.96001540.790392POINT (-73.960015 40.790392)White
55-73.96487540.785332POINT (-73.964875 40.785332)Gray+White
56-73.96725240.788152POINT (-73.967252 40.788152)Black+
57-73.95781440.793895POINT (-73.957814 40.793895)Cinnamon+Gray
58-73.96942540.783102POINT (-73.969425 40.783102)Gray+Cinnamon
59-73.96145840.788925POINT (-73.961458 40.788925)Cinnamon+
60-73.96512540.784612POINT (-73.965125 40.784612)Gray
61-73.95841540.792723POINT (-73.958415 40.792723)Cinnamon+White
62-73.96235840.787185POINT (-73.962358 40.787185)White
63-73.96822540.784238POINT (-73.968225 40.784238)Gray+Cinnamon
64-73.96042340.790423POINT (-73.960423 40.790423)Cinnamon+Gray
65-73.96410240.785915POINT (-73.964102 40.785915)Gray+White
66-73.96702340.788412POINT (-73.967023 40.788412)Black+
67-73.95821440.793432POINT (-73.958214 40.793432)White
68-73.96922540.783332POINT (-73.969225 40.783332)Cinnamon+
69-73.96134840.788132POINT (-73.961348 40.788132)Gray
70-73.96538540.784491POINT (-73.965385 40.784491)Cinnamon+White
71-73.95792340.793673POINT (-73.957923 40.793673)Gray+Cinnamon
72-73.96302540.786456POINT (-73.963025 40.786456)White
73-73.96813440.784831POINT (-73.968134 40.784831)Cinnamon+Gray
74-73.96031340.790712POINT (-73.960313 40.790712)Black+