This entry is old and may contain information that is not up-to-date.

Cannot create a new map

Creating a new map doesn't work. Tried to create a polygon region map and save it, however nothing happens. Looking at the XHR request, the server gives a response:

"message": "Invalid map specified.",
"statusCode": 400

Tried in Firefox 65.0 and Chrome 72.0.3626.71.


  • Hi mikko,

    That's weird, let me try to recreate it, can you send me a screenshot of the map editor so I can see the polygon + settings when you try to save?

  • Is there perhaps a minimum size for the polygon? Because this map doesn't save:

    But this does:

    Tried it around a few random locations and as soon as the polygon got down to a certain size, the map stopped saving. Here's the actual JSON request for a map that doesn't save (roughly the same area as in the first screenshot):


  • Yep, there's a minimum count, 5 locations. But you shouldn't be able to click the save button if that isn't reached.. Which is how it is when creating a map with custom coordinates.

    Thanks for finding it, I'll fix it so you cant save if the polygon has less than 5 locations!
  • I see you pushed the fix. But if we create a polygon with less than 5 locations, and another one with less than 5 locations as well, even if the two polygons accumulate more than 5 locations the map still can't be saved. You should count all the polygon locations instead (also display it as well).

    Another small idea for the editor: add a pop-up warning when trying to refresh / close the tab / window or try to exit the editor by clicking another link. This would prevent loss of work because of a missclick etc.
  • Hi,

    you're quick! thanks for pointing that out, I'll fix it.

  • How does this whole "locations" thing work? If I draw a polygon over plenty of streets that have streetview, that should already be hundreds of "locations" (every street view image). But it seems you understand something else when talking about those "locations" of which there need to be 5. So how do you make a poligon that contains all the streetview in a part of one city then?
  • I'm not a dev but I think this is how the game works:

    The polygon feature uses a database filled by pre-selected locations from all the world. They went this way to know where Streetview locations are available when creating a polygon. There is no simple way to select a panorama from a whole area other than the brute-force way aka "try and retry random coordinates until you get a valid coverage" and this would take too much time and resources to proceed this way.

    I assume they built this database probably by using brute-force way and saved all successful coordinates they got. It contains over 10 millions locations, you can see the number by drawing a polygon all over the world. This means some places may lack coverage because of the randomness way to get valid locations. Also newly added places on Streetview will also be missing as they need to refresh the database, which I suspect costs a lot because of the new Google API pricing (the same new pricing that leaded to the recent paywall). This also means coverage that got remove in the meanwhile is still saved in the database, leading to invalid locations (black screens).

    It's kinda hard to manage such database because of how instable Streetview coverage is. And since there is no way to tell the API "select any of the panoramas inside of this area" you're out of luck to select thousands of locations in a single town (except large towns). You can always try to use the manual location selection but you'll have to click thousands of times to cover the area. I myself do all my maps this way, takes lot of time but I know what I select to be sure players get valid locations.
  • I've created a custom map, and I'm unable to get a map to save with polygonal sections (definitely more than 5).

    Is there a maximum number of regions?

    David Rasch
  • I think it won't save if a region has less than 5 locations. Check for any region with less than 5 locs, remove them and see if you can save.
  • I did check through them pretty thoroughly. I have the list of locations if anyone wanted to debug.
    David Rasch
  • Hi David,

    sure post it here and I'll have a look!
  • my son just tried to create a map and got the same error. We tried making sure everything had 4 points, tried making everything convex, but still no luck.  Here's the json:


    David Rasch
  • Hi David,

    I added the polygons and the second one "Terres australes et antarctiques françaises" doesn't seem to include any locations. After making a polygon you can see the number of locations inside it in the bottom left corner. You can drag the edges to include a larger area to reach the minimum 5 locations or in this case where there isn't anything close by you can click the "remove region" button to delete it.

    Does it look the same when you try to create it?


  • Thanks! This would be a great message to show in red. I found this post and interpreted that each section needed 5 vertices rather than 5 locations in that box at the bottom.  This should show red and when you try to save an error might say: this region needs to be larger to include more locations, or something of the sort.

    David Rasch
  • Great that i worked out!

    Yep, I agree.. I've put it on our todo list, I think most people create larger vertices and don't run into this issue.

  • Whenever I create a map of only islands in the middle of the south and press save, when I play it, it takes me to random locations like Brazil and South Africa
  • Hello, cannot create a region in Kazakstan. It gives me an error. "You must give the map a name and have at least 5 locations." Although, there are locations in the region. I can create a region in handpicked mode.

    curl "" ^
    -H "authority:" ^
    -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36" ^
    -H "content-type: application/json" ^
    -H "accept: */*" ^
    -H "origin:" ^
    -H "sec-fetch-site: same-origin" ^
    -H "sec-fetch-mode: cors" ^
    -H "sec-fetch-dest: empty" ^
    -H "referer:" ^
    -H "accept-language: en,en-US;q=0.9,ru;q=0.8" ^
    -H "cookie: _ga=GA1.2.1509411246.1612550107; G_ENABLED_IDPS=google; _ncfa=dFuv1WD^%^2fcW9GBnNpaxHikE5LnfL9d3Y0XTMgAEUuNB4^%^3dQxcDlBfHIlDNFFp7^%^2fAA5gLmYKO0TEMK^%^2b4PEdZGxXQbftNASHF7cXK1dpWv8utILK; devicetoken=7FD1ED90AA; __stripe_mid=2c4fd5a7-eb41-498e-9ed7-08958d55e7f1843111; _gid=GA1.2.354515963.1614370021" ^
    --data-raw "^{^\^"name^\^":^\^"Kaz^\^",^\^"customCoordinates^\^":^[^],^\^"regions^\^":^[^{^\^"coordinates^\^":^[^{^\^"lat^\^":51.195534653399356,^\^"lng^\^":71.36170121359395^}^]^},^{^\^"coordinates^\^":^[^{^\^"lat^\^":51.08704560668452,^\^"lng^\^":71.03487075500558^},^{^\^"lat^\^":51.46161925741783,^\^"lng^\^":71.45784438781808^},^{^\^"lat^\^":51.0801441507078,^\^"lng^\^":71.90828384094308^},^{^\^"lat^\^":50.8275359000217,^\^"lng^\^":71.41939223938058^}^]^}^],^\^"description^\^":^\^"^\^",^\^"avatar^\^":^{^\^"background^\^":^\^"day^\^",^\^"landscape^\^":^\^"forest^\^",^\^"ground^\^":^\^"beige^\^",^\^"decoration^\^":^\^"none^\^"^},^\^"published^\^":true,^\^"highlighted^\^":false^}" ^
  • I tried everything but this message still pops up "You must give the map a name and have at least 5 locations. " I don't know how to fix this can anyone help
  • Fredtheswede - me too. I've checked everything suggested here, and nothing fixes it.
  • I got this same problem. My region contains 795 locations yet I get the same message as "Fredtheswede".
  • After much internet searching, I learned that the answer was that this feature doesn't work in Australia or New Zealand, which is where the map I was trying to make was

Add your comment or create a new post

Your name and post can be seen by everyone.Your e-mail will never be shown publicly.