Open wilbertom opened 11 years ago
The juarezLoc and pasoLoc variables determine where the InfoWindows appear. I selected those coordinates by hand so that they would both appear nicely in the map canvas. But there must be a better way...
good
and bad
I determined by greater than/less than comparisons, so that could be added again.
The
CityContentView
view is a wrapper around the previous way of rendering city ```The classes
good
andbad
need to be added again. I couldn't do this my self because I don't know the criteria used to distinguish between the two. After defining we could add some conditionals to dynamically choose span classes.Also the:
and :
lines are plotting the content views. If the latitudes and longitudes are the same as the city's lat and longs then we could use the new
CityModel.plot()
method for example: