MapBox style hides points at low zoom levels - zooming

I have a geojson file of thousands of points (each point is a Feature in a big FeatureCollection) and I create a tileset with tippecanoe:
tippecanoe -o /home/ubuntu/positions.mbtiles -Z 0 -z 14 /home/ubuntu/positions.json.gz --force
Whatever tippecanoe options I've tried, the result is always the following:
features (points) show correctly even at zooms < 15 in the tileset page, or in the "select data" tab of the style layer
most features disappear as the zoom levels drops (only 1 or 2 points are visible out of thousands at zoom below 13-14) in the "style" view
I'm displaying the features in the style as "circles" so no icon-allow-overlap should in theory be necessary.
How to proceed so that most points would still be visible at low zoom levels?

Related

shading area outside of kml boundary

Has anyone seen a way to shade/color areas of a google map that are outside of a boundary/shape created by a KML file?
An example usage would be that only the area inside the boundary/shape would be interactive (click listeners etc.), and the shaded area outside of the boundary would ignore all actions aside from the basic map functionality, like moving the map back and forth.
Here is an option I have been working on (doesn't quite completely work, but the concept may address your question):
Create a KML file of the area of interest (in the example US states)
Invert it by adding an outer boundary of the whole world
Either display it on your map using an additional KmlLayer or import it into FusionTable (like the example)
Be sure to suppress infoWindows on the "inverted" layer
Example
- Doesn't work for Virginia or Alaska
- Hawaii is problematic.
- Limits the minimum zoom to 5.

See streetview enabled streets without pegman

I don't want to use streetview, I just want to see what streets allow it and capture a graphic (so as to identify gated neighborhoods where the cars could not get in.) Of course one can drag out the pegman and do a screen capture (or several if one wants to stitch them together). One can use that method to (w/o the pegman) to capture maps (w/o highlighting s/v/e streets) HOWEVER there are much nicer ways to get an 8000 x 8000 pixel map (for example).
Question: Is there same way to leave the display of streetview enabled streets on without hovering the pegman?)
I once had this happen while I was using Gmaps(maybe due to where I dropped the man) but have never replicated it.

Google Maps Number of KML layers limit

We used to be able to display 7 KML layers on google map. But now it's only possible to show 5 layers. It's documented:
You can use the Maps API to add up to five Fusion Tables layers to a map, one of which can be >styled with up to five styling rules.
But I didn't see similar limit for KML layers. Is this a undocumented new change?
More detail:
The layers are toggled with checkboxes, when all 7 checkboxes are checked, only the first 5 layers are shown. If I hide the first layer, the sixth layer will immediately show.
I think the bug may still be there or maybe back in a different form. I am trying to load 27 kml files (total size 77.6 kb - well under the limit) and it seems to only be able to load 25 - if I turn off two layers using the dropdown the map loads fine. See http://www.trammaps.com/Map.html,
Regards,
Lea.

Clickable markers on GTileLayerOverlay

I have a web application that needs to display 30,000 markers on a map at the same time. I don't want to use any kind of clustering. I need them to all be displayed.
I also need them to be clickable. The user can click on each point and a popup will come up with information about that point. Even at a low zoom level when there are thousands of markers in a single 256x256 square, the user needs to be able to click on them. It may be cumbersome for the user to click on a point thats bunched up with hundreds of other points, but if there happens to be one marker in the middle of nowhere, I want the user to be able to click on it right there instead of having to zoom in.
How do I do this? I know it's possible because I watched a video on google video where this guy creates a GTileLayerOverlay app that had clickable markers. He didn't explain how it was done though.
Is my only option to just remove the GTileLayerOverlay at high zoom levels and replace it with a true GMarker layer? I really don't want to do that. It seems over engineering to me.
If you were me, how would you go about this?
I found this example is in the Google Maps API Demo Gallery:
Clickable Tile Layer
This example creates a custom map type (GMapType) that shows regional borders and squares for county centers. When the squares are clicked, an info window opens with information about that county. The clickability is accomplished by passing in information about clickable pixel bounds in the cookies attached to the tiles, and doing a client-side check on mouseover for whether the mouse position was within the pixel bounds.
Here's some commentary on his method.
I don't have any experience with GTileLayOverlays, but I believe it is possible to accomplish what you're trying to do without using GMarkers.
Would it be possible to utilize clustering if each cluster could bring up a list of the markers it represents? It seems like having 30,000 markers visible at once would be visually confusing and difficult to navigate .

google maps : put markers all over visible section on Google map display

I want to show limited numbers of markers(let's take 50 or so...) at all zoom level and in a manner that markers covers all entire Google map display.
So, If I am viewing whole world in map, it will show markers all over the world not to exceed a certain number, and the if I zoomed to USA it will only show previous number of markers only inside USA.
And then again if I moved to Canada , then the map should show markers of Canada only.
I am not able to
- put makers on visible region over the map on limited distances
i.e. all the visible markers maintaining somewhat some distance from each other.
You might want to look into 'clustering' or 'bunching' the points into one. It doesn't do exactly what you are describing, but it will effectively limit the number of markers you have when you are zoomed out, and 'uncluster' them once you zoom in.
There are quite a few ways (all third party - the Google API doesn't support it yet), you could have a look here at one called ClusterMarker: http://googlemapsapi.martinpearman.co.uk/articles.php?cat_id=1.
You should use a marker manager!
See http://code.google.com/p/gmaps-utility-library-dev/ and http://gmaps-utility-library.googlecode.com/svn/trunk/markermanager/