Closed meetar closed 8 years ago
Mostly works – the geolocator's position isn't quite right when the citysearch is hidden, so further css work is necessary. What do you think of the general approach?
@louh sanity check requested - thanks!
Hi @meetar ! Apologies for missing this. I may not have a chance to look at it until Monday.
@meetar We might need to revisit the interface a bit. If I understand correctly, pushing this change out means that every current demo owner needs to add
MPZN.citysearch();
MPZN.geolocator();
to activate it at all.
I'm hoping to make the upgrade path as painless as possible -- especially since we ask demo owners to link to a centralized, unversioned library. This means that the moment we publish, we instantly remove city search and geolocator from every demo. And asking demo owners to put those two lines in first before we publish the library will cause its own problems, as those statements will currently throw syntax errors.
Furthermore, this:
MPZN.bug({
bug(true)
});
is calling a function inside of an object, so I'm not sure what the intent was. bug: true
?
We're going to migrate this work over to https://github.com/mapzen/scarab!
Resolves https://github.com/mapzen/ui/issues/29