×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: hotspots 3.1 bugs

hotspots 3.1 bugs 12 years 3 months ago #17245

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
I made a search for 'downtown' and I got dots everywhere on the map. It looks like the map was repeating the dots consecutively.

hotspots 3.1 bugs 12 years 3 months ago #17247

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
go to each of your categories and edit them -> set a new color for each category. Then login with ftp and go to media/com_hotspots/tiles -> delete the images in there (ctrl+a + delete).

Then go back to your map and repeat the downtown query.

hotspots 3.1 bugs 12 years 3 months ago #17248

  • CJ Disabled 4
  • CJ Disabled 4's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 50
  • Thank you received: 0
I have done that Daniel (as i was getting the same problem) but makrkers still show?

Please go to www.fulltiming.org/index.php/aires-wildp...ates#!/search=calais

You can see the problem on the map

Keith

hotspots 3.1 bugs 12 years 3 months ago #17249

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
I am getting the same results. Now, instead to get black dots, I am getting colored ones, but still all over the map.

hotspots 3.1 bugs 12 years 3 months ago #17250

  • CJ Disabled 4
  • CJ Disabled 4's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 50
  • Thank you received: 0
Also noticed this, just logged in with ftp and now there are 93 icons in there, thats after i deleted them all

hotspots 3.1 bugs 12 years 3 months ago #17251

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
This is my new 'christmas tree' after the changes:



I have around 73 files in the folder where I deleted its content.

hotspots 3.1 bugs 12 years 3 months ago #17252

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The creation of the files is fine - please have a look at the documentation. The markers are drawn on a transparent png image. This image is then layered over the map.
the only thing that is processor consuming here is the actual creation of the image -> that is why once created we save it on the hard drive (caching) . Next request will just load that image and won't have to create all the db queries to get the results.

Actually I now see the same behavior when searching on my localhost. Ok, starting to debug. Don't you guys have anything better to do than to ruin my monday :D:D:D (joking)

Daniel

hotspots 3.1 bugs 12 years 3 months ago #17253

  • CJ Disabled 4
  • CJ Disabled 4's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 50
  • Thank you received: 0
Haha, You love it really!

hotspots 3.1 bugs 12 years 3 months ago #17254

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Don't worry Daniel, I'm just using half of the engines. Wait until Wednesday when I fill the tank with gas. :lol:

hotspots 3.1 bugs 12 years 3 months ago #17257

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Found the problem! The search query was missing brackets... and this was changing the SQL query and in fact instead of searching in the boundaries of each tile, we were getting the same results all over gain...

components/com_hotspots/models/tile.php

change line 141 to 145 from
        $query->where(implode(' OR ', $search));
 
        if(count($and)) {
            $query->where(implode(' OR ', $and));
        }

to
        $query->where('('.implode(' OR ', $search).')');
 
        if(count($and)) {
            $query->where('('.implode(' OR ', $and).')');
        }

Delete the images in the tiles folder, refresh the page and make the search.

Cheers,
Daniel

hotspots 3.1 bugs 12 years 3 months ago #17262

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey guys,
So here is what I've been doing all day:

fixed - when copying a search link and opening it in another tab the map now loads properly
updating the stats module to show number of tiles + option to delete the tiles
the hotspot name was shown in the div for the marker_address...
removing \t \n \r from the ajax response - should reduce the file size a little
fixed - comma is missing between address and town (infowindow)

compojoom.com/downloads/developer-releas...y-stuff/dev-hotspots

About:
- "infowindows disappear if I zoom in/out or move the map "- I know about that - it is a little tricky to fix, but it will be fixed the next days

- " if i open 3 different tab categories..." - I can't reproduce this one. (maybe I'm not understanding it correctly) Please try to explain it again.

- "if i open 3 different tab categories" - I actually plan to make the side mar menu some 40px wider and that should fix the space problems.

- "How can I align the address to the right" - the address is now in his own div with id="marker_adress" - You should be now able to style it with text-align. I'll actually add this to the next release as I also like it on the right more.

- the problem with copy/pasting the search result is now fixed, but I don't like the solution very much. When the page loads and we don't have any boundaries I just set the boundaries to be the one of the whole world. Need to think of something better...

That is all for today! I wish you all a nice evening!
Daniel

hotspots 3.1 bugs 12 years 3 months ago #17264

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
About the problems with the tab:

- I opened 3 diferent categories on the map, and the sliding panel is showing those 3 categories in different tabs.



- When I close the first one (#1 on the map)



The map is showing the parks (#3), but the sliding panel is showing the recreational centers (#2)

hotspots 3.1 bugs 12 years 3 months ago #17265

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
About the problem with copy/pasting the search result:

The problem is still there. Once I copy/paste the link containing the search results, I am getting the following screen:

hotspots 3.1 bugs 12 years 3 months ago #17274

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
About the cluster markers...

anytime i move the map, or zoom in/out all the markers and dots disappear, to re-appear few seconds later. It's some kind of blinking effect, which looks horrible by the way.

Is this suppose to be in that way?

hotspots 3.1 bugs 12 years 3 months ago #17275

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
about new image/marker for category...

The problem remains: 'I am trying to upload a new icon for a category and all i am getting is an empty square.' (#1 on image)

hotspots 3.1 bugs 12 years 3 months ago #17276

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
custom marker for hotspot...



I wanna use my own marker, and I don't have the option to upload it. I tried uploading the file to /media/com_hotspots/images/categories/sample but it's not showing up at all.

hotspots 3.1 bugs 12 years 3 months ago #17282

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I fixed the problem with the close tab. (will publish the new release later today)

About the search -> your don't seem to be running the latest dev version. The content of the sandbox.js file is different in the latest version than what you have on your site.

Custom tiles - no don't see any blinking effect -> once the tiles are loading moving around, zooming, zooming out is very smooth. What browser are you using?

Category upload - this is working on my localhost. I logged in your demo site and tested it - it is true that it is not working there, but I have no idea why. I would appreciate it if you could give me ftp access to debug.

Custom marker for hotspot - I uploaded a custom marker in the sample director and it was shown in the custom marker option. Are you sure that you've uploaded it to the correct directory?

Regards,
Daniel

hotspots 3.1 bugs 12 years 3 months ago #17289

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Soooooo! Latest dev. release:
compojoom.com/downloads/dev-hotspots

I think that every single point of your first post is fixed. Let me know how the release performs for you.

Daniel

hotspots 3.1 bugs 12 years 3 months ago #17303

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
About the search -> Everything is working fine, but when I paste the link in a new tab, I am seeing the whole world as a map.

About Custom tiles and the blinking effect -> Tested in Firefox, Internet Explorer and Chrome. Same effect in all of them. It looks like any time I zoom in/out, the map is reloading everything markers, positions, dots because it takes few second to show everything properly, including the blinking effect.

About the Category upload -> I send the ftp credentials.

About Custom marker for hotspot -> I upload the file to media/com_hotspots/images/categories/sample.

About markers -> If I follow the path of the markers I am getting:
http://www.virtualbc.ca/home/media/com_hotspots/images/categories//sample/forest.png

is the double / just before 'sample' correct?

I still consider that all markers/dots should be visible when you search, or when you select any category. If I select 'restaurants' from categories, I wanna see all the restaurants, the same when i search for something, I would prefer to see all the results on the map.

hotspots 3.1 bugs 12 years 3 months ago #17304

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I've fixed the upload bug on your site. It is actually a problem with your server.
You can look at some of the threads:
www.google.com/search?q=after+upload+per...refox-a&channel=fflb

The uploaded files have 600 for permission instead of 644. they are properly uploaded, but because the group can't read it... you don#t see the image.
I did a chmod('image....', 0644) after the upload and it seems now to be fine.

Daniel
  • Page:
  • 1
  • 2
Time to create page: 0.180 seconds