More map tweaks

Now it works in both webkit and firefox.