Hi Michal,
It might be that the image that you upload does not have the necessary metadata information to be interpreted as a photo sphere or the metadata is deleted at some point during your workflow to publish it to Google Maps.
The upload process in the Street View app includes a step where the photo sphere metadata is created automatically if it is not embedded in the image, that step does not seem to exist in the upload process on Maps.